Declaring Variables on Informix

Posted by santiagobasulto on Stack Overflow See other posts from Stack Overflow or by santiagobasulto
Published on 2010-06-03T19:02:50Z Indexed on 2010/06/03 19:04 UTC
Read the original article Hit count: 231

Filed under:
|

Hi everybody.

I've a Store Procedure Routine. I want to get some variables from the execution of that proc. But i don't know how to create it. For example:

CREATE PROCEDURE foo() ... RETURN somebar; END PROCEDURE;

then, when i call it:

-- DEFINE bar, this is what i want to know!!!! execute procedure foo() into bar;

How can i initialize "bar"????

Thanks!

© Stack Overflow or respective owner

Related posts about informix

Related posts about spl