Bhavin,
Saturday, June 15, 2002, 2:36:07 AM, you wrote:
BV> Just wanted to make sure before I proceed to write a script,
BV> Muti-table deletes as such:
BV> delete from Keyname_Keyvalue,Keyvalue WHERE
BV> Keyvalue.KeyvalueKey=Keyname_Keyvalue.KeyvalueKey AND
BV> Keyname_Keyvalue.KeynameKey='100';
BV> ERROR 1064: You have an error in your SQL syntax near 'Keyvalue WHERE
BV> Keyvalue.KeyvalueKey=Keyname_Keyvalue.KeyvalueKey AND Keyname_Key' at line 1
BV> Are not supported in 3.23 but supported in 4.x. Is that correct? Any other
BV> options besides writing a script?
You used the second multi-table delete format. It will be supported in
4.0.2:
http://www.mysql.com/doc/D/E/DELETE.html
BV> Regards,
BV> Bhavin Vyas.
--
For technical support contracts, goto https://order.mysql.com/?ref=ensita
This email is sponsored by Ensita.net http://www.ensita.net/
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Victoria Reznichenko
/ /|_/ / // /\ \/ /_/ / /__ [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