Like to RETURN SQL results set

Поиск
Список
Период
Сортировка
От M Sarwar
Тема Like to RETURN SQL results set
Дата
Msg-id DM4PR19MB5978E0422300C922982974EBD3342@DM4PR19MB5978.namprd19.prod.outlook.com
обсуждение исходный текст
Ответы Re: Like to RETURN SQL results set
Список pgsql-admin
 

 

Hello,

 

I am writing a dynamic function in which number of columns to be retrieved change depending on the parameter values passed while invoking the function. I am using CROSSTAB in the dynamic SQL.

Once I prepare a dynamic SQL and I execute, I want the entire result set from the executed SQL to be returned to function RETURN.

Is this possible? If yes, can you please point me to some examples.

 

Thanks,

Sarwar

 

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

Предыдущее
От: Ron Johnson
Дата:
Сообщение: Re: upgrade from centos 6.8 to 6.10
Следующее
От: Laurenz Albe
Дата:
Сообщение: Re: Like to RETURN SQL results set