re: Problem with UPDATE query

2002-09-10 Thread Egor Egorov

Andis,
Friday, September 06, 2002, 12:08:58 PM, you wrote:

AG Is it's possible to execute such query in MySQL?

AG update table_name set table1.field1=table2.field2 where
AG table1.key=table2.key

If you use 4.0.2 or higher yes, otherwise nope.
Pre-version of multi-table updates came only in 4.0.2



-- 
For technical support contracts, goto https://order.mysql.com/?ref=ensita
This email is sponsored by Ensita.net http://www.ensita.net/
   __  ___ ___   __
  /  |/  /_ __/ __/ __ \/ /Egor Egorov
 / /|_/ / // /\ \/ /_/ / /__   [EMAIL PROTECTED]
/_/  /_/\_, /___/\___\_\___/   MySQL AB / Ensita.net
   ___/   www.mysql.com




-
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




Problem with UPDATE query

2002-09-06 Thread Andis Grasis

Hi!

Is it's possible to execute such query in MySQL?

update table_name set table1.field1=table2.field2 where
table1.key=table2.key

Thanx
Andis




-
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