If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Informix > Insert results of execute procedure into a table

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-24-12, 10:30
jayasris jayasris is offline
Registered User
 
Join Date: Jan 2012
Posts: 1
Insert results of execute procedure into a table

Hi
I am trying to insert the results of an informix stored procedure into a table. I tried to do
insert into temp_test Execute procedure test()

I get an error- Illegal SQL statement in SPL routine.

I am plugging into a client system where I dont have access to modify any procedures that are built already. I just need the results of what comes back from the procedure to be stored in a temp table so I can run some roll ups on it. Is this possible to do in informix?

Thanks
Jayasri
Reply With Quote
  #2 (permalink)  
Old 01-24-12, 15:35
begooden-it begooden-it is offline
Registered User
 
Join Date: Sep 2011
Location: Pont l'Abbé, Brittany, France
Posts: 183
Hi,

maybe detailing a bit more of your SPL code and the error you get at SPL execution
would help to troubleshoot and provide an solution

A bit difficult to guess without all this.
Reply With Quote
Reply

Tags
execute procedure

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On