
October 26th, 2012, 05:11 PM
|
|
Registered User
|
|
Join Date: Oct 2012
Posts: 7
Time spent in forums: 2 h 57 m 28 sec
Reputation Power: 0
|
|
Quote: | Originally Posted by r937 mysql does not use FROM syntax in a joined update...
Code:
UPDATE db2_local.gitem
INNER
JOIN db1_local.gitem
ON db1_local.gitem.gitemcode = db2_local.gitem.gitemcode
SET db2_local.gitem.gbaseprice = db1_local.gitem.gbaseprice
|
you are right, it works fine
thank you for effort
|