Exec a text variable as select

Поиск
Список
Период
Сортировка
От Ranieri Mazili
Тема Exec a text variable as select
Дата
Msg-id 46768538.9070909@terra.com.br
обсуждение исходный текст
Ответы Re: [GENERAL] Exec a text variable as select  ("A. Kretschmer" <andreas.kretschmer@schollglas.com>)
Список pgsql-sql
Hello,

I'm creating a function that will create a select statement into a
while, this select will be stored into a text variable, after while ends
I need to execute this query stored into variable, on SQLSERVER I can do:
EXEC(text_variable)
How can I do this on Postgres?

I appreciate any help
Thanks

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

Предыдущее
От: "Sabin Coanda"
Дата:
Сообщение: Re: array_to_string
Следующее
От: "A. Kretschmer"
Дата:
Сообщение: Re: [GENERAL] Exec a text variable as select