Re: can plpgsql returns more flexibe value ?

Поиск
Список
Период
Сортировка
От Arnold.Zhu
Тема Re: can plpgsql returns more flexibe value ?
Дата
Msg-id 20050122015354.9DB646D98@shaucon.com
обсуждение исходный текст
Ответ на can plpgsql returns more flexibe value ?  ("Arnold.Zhu" <joint@shaucon.com>)
Ответы Re: can plpgsql returns more flexibe value ?  (Kris Jurka <books@ejurka.com>)
Список pgsql-hackers
Hello, Christopher Kings-Lynne


>Yeah, you just make your function return 'SETOF record' and specify the 
>types when you do the select:
>
>select * from func() as (a int, b text);
>
>Chris
>

This is not a good idea when I use C# to program, I want to Fill the resultset
directly into  Dataset, this method will should use more sql to get data,
it lose function's convenience like stored procedure.

Thanks & Regards!         
Arnold.Zhu
2005-01-22





В списке pgsql-hackers по дате отправления:

Предыдущее
От: Greg Stark
Дата:
Сообщение: Re: ARC patent
Следующее
От: Kris Jurka
Дата:
Сообщение: Re: can plpgsql returns more flexibe value ?