Re: Substitute Variable in select query

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: harish supare <harish(dot)supare(at)gmail(dot)com>
Cc: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Substitute Variable in select query
Date: 2020-08-24 14:15:16
Message-ID: CAKFQuwYLa8hnr5CuAdux0C_MRWiNTEdUPfwBUAJT9SzSqBjYrA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Monday, August 24, 2020, harish supare <harish(dot)supare(at)gmail(dot)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.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message harish supare 2020-08-24 14:21:03 Re: Substitute Variable in select query
Previous Message Susan Joseph 2020-08-24 14:10:23 SSL between Primary and Seconday PostgreSQL DBs