Thread: EXECUTE ... INTO?

EXECUTE ... INTO?

From
"Josh Berkus"
Date:
Folks,

Can anybody tell me the syntax for sending the result of an EXECUTE to a
variable within a PL/pgSQL function again?  Jan Wieck posted it to the
list this summer, but the "searchable list archives" are bogging down.

-Josh


______AGLIO DATABASE SOLUTIONS___________________________                                      Josh Berkus Complete
informationtechnology      josh@agliodbs.com  and data management solutions       (415) 565-7293 for law firms, small
businesses       fax 621-2533   and non-profit organizations.      San Francisco
 


Re: EXECUTE ... INTO?

From
"Oliver Elphick"
Date:
"Josh Berkus" wrote: >Folks, > >Can anybody tell me the syntax for sending the result of an EXECUTE to a >variable
withina PL/pgSQL function again?  Jan Wieck posted it to the >list this summer, but the "searchable list archives" are
boggingdown.
 

FOR variable IN EXECUTE ''SELECT ...'' LOOP
END LOOP;

-- 
Oliver Elphick                                Oliver.Elphick@lfix.co.uk
Isle of Wight                              http://www.lfix.co.uk/oliver
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839  932A 614D 4C34 3E1D 0C1C
    "But be ye doers of the word, and not hearers only,      deceiving your own selves."              James 1:22