[RESOLVED] updating a table based on another database
Hi, I've got an update statement:
but I want to try to keep the different state tables in seperate databases, I don't think you can do fl.fl4q06.phone in the where statement though, because it just looks for the fl4q06 table in the dnc database
UPDATE `dnc`.`fl_346`, `dnc`.`fl4q06`
WHERE `fl_346`.`phone_num` = `fl4q06`.`phone`;
any idea how to change this so that I can keep the tables in seperate databases?
edit: forgot to mention I'm using MySQL 5.0.23
Last edited by carlh; 11-22-2006 at 09:58 AM.
posted too soon, sorry, got it working
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)