Vadim,

Friday, February 01, 2002, 5:00:33 AM, you wrote:

VK> Greetings:

VK> I'm trying to update a table T1 based on the condition which is a result
VK> of the key join table A and table B
VK>  the following command works with SYBASE but doesn't with MySQL:


VK> update A,B set A.field2='test' where A.field1=B.field1 and
VK> B.field5='test2'

VK> What's the correct syntax for it ? Or is there another way to accomplish
VK> that.

MySQL doesn't currently support multitable updates in a single command.

VK>  Thank you, 
VK> Vadim Kulikov 





-- 
For technical support contracts, goto https://order.mysql.com/
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

Reply via email to