From: | Engard Ferenc <fery(at)pons(dot)sote(dot)hu> |
---|---|
To: | pgsql-sql(at)postgreSQL(dot)org, Pgsql Novice <pgsql-novice(at)postgreSQL(dot)org> |
Subject: | select in update |
Date: | 1998-11-23 23:41:58 |
Message-ID: | Pine.LNX.3.96.981124003803.1032D-100000@Pons.sote.hu |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-sql |
Hi all,
Yet another question: (quite busy today... :)
oeptest=> update shorttest2 set b=(select b from shorttest t1 where t1.a=1) where a=2;
ERROR: parser: parse error at or near "select"
It means that the subquery in update is not implemented? And if it isn't,
how can I evade it? Maybe select ... into .., but it's not a good idea in a
big table... :(((
Any help?
Thx a lot:
Circum
__ @
/ \ _ _ Engard Ferenc
l | ( \ / | | (\/) mailto:s-fery(at)kkt(dot)sote(dot)hu
\__/ | | \_ \_/ I I http://pons.sote.hu/~s-fery
From | Date | Subject | |
---|---|---|---|
Next Message | pierre | 1998-11-24 04:53:57 | MINUS and slow 'not in' |
Previous Message | Engard Ferenc | 1998-11-23 19:20:56 | cursor and update + view |