stored procedure which return a select result
Hi,
I have some problems with a stored procedure.
In this SP, i run several SELECT statements.
1st one is to confirm that profile/account really exist into DB.
if it's ok, the 2nd statement (SELECT) is executed and should return
records.
these records should be the result of my SP.
i try the RETURNS setof record as ...
but it seems not so great...at least i have problems with it...
I've search in several books, but i did not find a real example which could
help me.
Could you give me some piece of code for such use ?
Or, if this technique is not used, could you tell me what is used for
returning a SELECT result as result of SP ?
thanks a lot
Alain
am 01.07.2006, um 7:47:09 +0200 mailte Alain Roger folgendes:
[ Problems with set returning functions ]
Could you give me some piece of code for such use ?
http://www.varlena.com/GeneralBits/26.php
There are any examples.
HTH, Andreas
--
Andreas Kretschmer (Kontakt: siehe Header)
Heynitz: 035242/47215, D1: 0160/7141639
GnuPG-ID 0x3FFF606C http://wwwkeys.de.pgp.net
=== Schollglas Unternehmensgruppe ===