Bluehost.com Web Hosting $6.95

Multiple Table Update in MYSQL 3.23

This is a discussion on Multiple Table Update in MYSQL 3.23 within the MySQL Database forums, part of the Database Forums category; I have this SQL UPDATE MVActors, MVActorsInfo, MVActorsInfotmp SET `ActorID` = `MVActorsInfotmp`.`ID` WHERE `MVActorsInfo`.`ID` = `ActorID` AND `MVActorsInfotmp`.`ActorName` = `MVActorsInfo`.`...


Go Back   Usenet Forums > Database Forums > MySQL Database

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-23-2007
matofarides@gmail.com
 
Posts: n/a
Default Multiple Table Update in MYSQL 3.23

I have this SQL

UPDATE MVActors, MVActorsInfo, MVActorsInfotmp
SET `ActorID` = `MVActorsInfotmp`.`ID`
WHERE `MVActorsInfo`.`ID` = `ActorID`
AND `MVActorsInfotmp`.`ActorName` = `MVActorsInfo`.`ActorName`
AND `MVActorsInfotmp`.`ActorLastName` =
`MVActorsInfo`.`ActorLastName` ;

which does work under v. 5.0.23 but does not work under v. 3.23
because this version does not support multiple table update. How can i
do this work?

Thanks,

Marios Tofarides

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 09:05 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0