Re: How to write such a query?

Поиск
Список
Период
Сортировка
От Amul Sul
Тема Re: How to write such a query?
Дата
Msg-id CAAJ_b95B-6McpV8OjfreEnqUCirP-Yp4hyXx617f=fokbmQBsQ@mail.gmail.com
обсуждение исходный текст
Ответ на How to write such a query?  (Igor Korot <ikorot01@gmail.com>)
Ответы Re: How to write such a query?
Список pgsql-general
See prepare statement : https://www.postgresql.org/docs/current/sql-prepare.html

On Thu, Jan 6, 2022 at 12:10 PM Igor Korot <ikorot01@gmail.com> wrote:
>
> Hi, ALL,
> In SQLite you can write:
>
> SELECT a, b, c FROM foo WHERE id = :id;
>
> where ":id" is the named parameter.
>
> The query above is similar to
>
> SELECT a,b,c FROM foo WHERE id = ?;
>
> except that the parameter has a name.
>
> Is there a way to write such a SELECT statement with the
> named parameter in PostgreSQL?
>
> Thank you.
>
>



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

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