Re: Functions with dynamic queries

Поиск
Список
Период
Сортировка
От Gabriel Dovalo Carril
Тема Re: Functions with dynamic queries
Дата
Msg-id 3CEDF8AA.4CFF9A8C@terra.es
обсуждение исходный текст
Ответ на Functions with dynamic queries  (Gabriel Dovalo Carril <dovalo@terra.es>)
Ответы Re: Functions with dynamic queries  ("Rajesh Kumar Mallah." <mallah@trade-india.com>)
Список pgsql-sql
"Rajesh Kumar Mallah." escribió:
>
> I guess the examples on standard docs explain it.
> dont they?
>

Hi Rajesh,
I have read docs examples again, and even examples at:

http://www.brasileiro.net/postgres/plpgsql/plpgsql-description.html

section 1.2.5.3, which explains how to execute dynamic queries.
At the end of this section there is an example with a comment:

-- This works because we are not substituting any variables
-- Otherwise is would fail.
And I need to know how can a query be executed substituting
variables.

Thanks,

--
Gabriel D.


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

Предыдущее
От: Gabriel Dovalo Carril
Дата:
Сообщение: Re: Functions with dynamic queries
Следующее
От: "Rajesh Kumar Mallah."
Дата:
Сообщение: Re: Functions with dynamic queries