Hi, David, On Thu, Jan 6, 2022 at 1:00 AM David G. Johnston <david.g.johns...@gmail.com> wrote: > > On Wednesday, January 5, 2022, Igor Korot <ikoro...@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.
It looks like your answer contradicts with Ron... Thank you. > > David J. >