Substitute Variable in select query

From: harish supare <harish(dot)supare(at)gmail(dot)com>
To: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Substitute Variable in select query
Date: 2020-08-24 10:06:06
Message-ID: CAFsW9mg4g8MPgJGPh7-hY-m7obL-SebYKHmJq+g4qZ6zpE=zWQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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?

--
Best Regards
Harish.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Susan Joseph 2020-08-24 14:10:23 SSL between Primary and Seconday PostgreSQL DBs
Previous Message Tom Lane 2020-08-23 21:08:16 Re: Row estimates for empty tables