We are using Informix 10.00. I am trying to clean up some code by
writing stored procedures. I want to have a stored procedure that
returns multiple rows. I would like to use the stored procedure in a
FROM clause, but if I need to get the results in a temp table that is
fine. I can use "EXECUTE FUNCTION curr_sess(2009,'SP')" fine. I tried
creating a temp table and then doing "INSERT INTO t12 EXECUTE FUNCTION
curr_sess(2009,'SP');", but I get a " Illegal SQL statement in SPL
routine." error. Any ideas for a new DBA?
>> Stay informed about: Stored procedure returns multiple rows