Declaring Variables on Informix
- by santiagobasulto
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!