using variables with postgres

From: Keala Jacobs <keala_jacobs(at)itd(dot)sterling(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: using variables with postgres
Date: 1999-06-01 15:18:06
Message-ID: 3753F9AE.5623E2C7@itd.sterling.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Does postgres support the use of variables as in the example below?

update table1 set column1=(at)variable
where column2='text4column2'
and @variable=(select column3 from table2 where column4='text4column4');

If not, how do I execute a statement like this in postgres?

Please respond as soon as possible as I am working on a time sensitive
project that depends on this.
Thank you and have a great day

Attachment Content-Type Size
keala_jacobs.vcf text/x-vcard 341 bytes

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 1999-06-01 15:25:41 Re: [HACKERS] Re: [SQL] Column name's length
Previous Message Tom Lane 1999-06-01 15:17:33 Re: [HACKERS] LIMITS