SQL questiom

From: hamann(dot)w(at)t-online(dot)de
To: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: SQL questiom
Date: 2022-01-21 10:13:57
Message-ID: wolfgang-1220121111357.A0114263@linux-tuxedo
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,

I am using a query pretty often that looks like
SELECT <<fixed columns from tables>> WHERE <<fixed join statements>> AND
<<actual select criterion>>

Is there a way (with sql or plpgsql) to convert that into
SELECT myquery('<<actual select criterion>>')

Kind regards
Wolfgang Hamann

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Thomas Boussekey 2022-01-21 10:36:10 Re: SQL questiom
Previous Message Ekaterina Amez 2022-01-21 07:30:00 Re: Query much slower from php than psql or dbeaver