Re: question about PL/pgSQL function
От | Josh Berkus |
---|---|
Тема | Re: question about PL/pgSQL function |
Дата | |
Msg-id | web-65766@davinci.ethosmedia.com обсуждение исходный текст |
Ответ на | question about PL/pgSQL function ("datactrl" <quals@bigfoot.com>) |
Ответы |
Re: question about PL/pgSQL function
|
Список | pgsql-sql |
Jack, > select into rec1 * from EMP where empNo =''xxxx''; > i1 := xxx(rec1,5); Bad syntax. The correct syntax is: SELECT * INTO rec1 FROM EMP WHERE empNo=''xxxx''; > 2. Is that possible to return a record from a function? And how do I > get the > returned record in PL/pgSql No, it is not possible. I know the list archives are kinda hard to search, but we've discussed this question ad naseum; in fact, I just provided a workaround earlier this week. -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
В списке pgsql-sql по дате отправления: