Uriel Wittenberg writes:

> UPDATE persondata SET age = select age from othertable where
> persondata.id = othertable.id;
> 
> But the manual gives no clue as to whether this is possible.

It does. If you look at the documentation for UPDATE, you'll
find no mention of multi-table updates, and so they don't
exist. If you search the docs you'll find that they are to
be added in 4.1.
The FAQ clearly states that multi-table updates and deletes
do not exist at this point in time. And imagine how much less
traffic there'd be on this list if everyone read the FAQ
before posting.

//C - amazed that the some questions pop up almost every week.

-- 
 Carl Troein - Círdan / Istari-PixelMagic - UIN 16353280
 [EMAIL PROTECTED] | http://pixelmagic.dyndns.org/~cirdan/
 Amiga user since '89, and damned proud of it too.


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to