Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Call stored procedure with multi result set and out parameters #43

Open
pingrami opened this issue Sep 26, 2022 · 0 comments
Open

Call stored procedure with multi result set and out parameters #43

pingrami opened this issue Sep 26, 2022 · 0 comments

Comments

@pingrami
Copy link

Hi all, is it supported the call to stored procedure as show below? I tried some solutions without success. If it is supported could you provide me an example?

CREATE PROCEDURE MySPWithOutParams(InParamId INTEGER, OUT OutParam1 INTEGER, OUT OutParam2 VARCHAR(200))
BEGIN

SELECT id, description, completed FROM my_table_1 WHERE id = InParamId;

SELECT description, completed FROM  my_table_2;

SET OutParam1 = 1; 
SET OutParam2 = 'Hello World!';

END

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant