Re: Substitute Variable in select query

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема Re: Substitute Variable in select query
Дата
Msg-id CAKFQuwYLa8hnr5CuAdux0C_MRWiNTEdUPfwBUAJT9SzSqBjYrA@mail.gmail.com
обсуждение исходный текст
Ответ на Substitute Variable in select query  (harish supare <harish.supare@gmail.com>)
Ответы Re: Substitute Variable in select query  (harish supare <harish.supare@gmail.com>)
Список pgsql-general
On Monday, August 24, 2020, harish supare <harish.supare@gmail.com> wrote:
Hi Team,

Would like to know what the substitute/input variable available in psql.


Oracle we use &  - select a, b , c from table where a like &a;

Is there an alternative in psql?


Colon - read the documentation, psql section, for the exact syntax.

David J.

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

Предыдущее
От: Susan Joseph
Дата:
Сообщение: SSL between Primary and Seconday PostgreSQL DBs
Следующее
От: harish supare
Дата:
Сообщение: Re: Substitute Variable in select query