Re: Returning multiple columns with a function??
От
Eric B.Ridge
Тема
Re: Returning multiple columns with a function??
Дата
Msg-id
044343FE-114A-11D7-AAD7-0003937E3354@tcdi.com
Ответ на
Returning multiple columns with a function?? (Joshua D. Drake)
Список
Дерево обсуждения
Returning multiple columns with a function?? "Joshua D. Drake" <jd@commandprompt.com>
Re: Returning multiple columns with a function?? Eric B.Ridge <ebr@tcdi.com>
Re: Returning multiple columns with a function?? Stephan Szabo <sszabo@megazone23.bigpanda.com>
Re: Returning multiple columns with a function?? Renê Salomão <rene@ibiz.com.br>
Re: Returning multiple columns with a function?? Neil Conway <neilc@samurai.com>
Re: Returning multiple columns with a function?? Joe Conway <mail@joeconway.com>
On Monday, December 16, 2002, at 05:48 PM, Joshua D. Drake wrote: > > But something like this fails: > > CREATE OR REPLACE FUNCTION test_multiple () RETURNS SETOF text AS > 'SELECT ''a'', ''b''' LANGUAGE 'SQL'; > ERROR: function declared to return text returns multiple columns in > final SELECT I think you want: RETURNS SETOF record as 'select ...' eric > > What are we missing? > > Sincerley, > > Joshua Drake > > -- > CommandPrompt - http://www.commandprompt.com > +1.503.222-2783 > > > ---------------------------(end of > broadcast)--------------------------- > TIP 6: Have you searched our list archives? > > http://archives.postgresql.org
В списке pgsql-general по дате отправления