Re: How to write such a query?

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема Re: How to write such a query?
Дата
Msg-id CAKFQuwZEMUZJ55rFR=8UB-AzHccEPGUin6QjtgnWb3B4dXbVmw@mail.gmail.com
обсуждение исходный текст
Ответ на How to write such a query?  (Igor Korot <ikorot01@gmail.com>)
Ответы Re: How to write such a query?  (Igor Korot <ikorot01@gmail.com>)
Список pgsql-general
On Wednesday, January 5, 2022, Igor Korot <ikorot01@gmail.com> wrote:

Is there a way to write such a SELECT statement with the
named parameter in PostgreSQL?

The server, and its prepared SQL capability, doesn’t understand named parameters.  Only numbered ones.

That said, there are a number of different ways to write and execute SQL available to you and each of those provides different extended capabilities.  For instance, psql and its variables feature.

David J.

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

Предыдущее
От: Amul Sul
Дата:
Сообщение: Re: How to write such a query?
Следующее
От: Igor Korot
Дата:
Сообщение: Re: How to write such a query?