05-06-2021 03:25 PM
I need a snap like the SQL execute snap that returns both the results and the status but is for JDBC stored procedure…does one exist
05-06-2021 04:01 PM
Hi John:
For which database? You can do quite a bit in the SQL Execute snap – SELECT, CREATE, even invoke a stored function (well, at least for Oracle). Oracle has the notion of IN (parameters passed in) and OUT parameters (values returned from the procedure), and you can even define a stored function which returns a value and also a result in an OUT parameter – don’t know that this is a common pattern though.
function f1(x_out OUT varchar2) return number AS
BEGIN
x_out := 'OK';
RETURN 1;
END f1;
We do support stored procedures for most of our databases, but to what extent depends on the db.
05-06-2021 05:36 PM
we are using JDBC to connect to Pervasive db
the SQL Execute will not connect
06-30-2021 06:45 AM
Hi,
Just jumping on this thread as we have a requirement to execute an Oracle stored procedure that has a IN/OUT parameter set which I know isn’t support via the Stored Procedure snap. Are you saying this should be achievable through the Oracle Execute snap?
Thanks
Nick
06-30-2021 01:16 PM
Hi Nick:
Jumping in on thread is perfectly fine. The Oracle Execute snap can’t invoke stored procedures. Can you tell me more about your requirement and how the Stored Procedure snap can’t handle it ?