SQL questiom - Mailing list pgsql-general

From hamann.w@t-online.de
Subject SQL questiom
Date
Msg-id wolfgang-1220121111357.A0114263@linux-tuxedo
Whole thread Raw
Responses Re: SQL questiom
Re: SQL questiom
List 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




pgsql-general by date:

Previous
From: Ekaterina Amez
Date:
Subject: Re: Query much slower from php than psql or dbeaver
Next
From: Thomas Boussekey
Date:
Subject: Re: SQL questiom