How to write such a query?

Поиск
Список
Период
Сортировка
От Igor Korot
Тема How to write such a query?
Дата
Msg-id CA+FnnTzgQ3c75FE-eEPYVOa+F9N94jUpwW278ki_OeCJetovOA@mail.gmail.com
обсуждение исходный текст
Ответы Re: How to write such a query?
Re: How to write such a query?
Re: How to write such a query?
Re: How to write such a query?
Список pgsql-general
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 по дате отправления:

Предыдущее
От: Adrian Klaver
Дата:
Сообщение: Re: How best to create and use associative array type in Postgres?
Следующее
От: Amul Sul
Дата:
Сообщение: Re: How to write such a query?