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 databaseCode:UPDATE `dnc`.`fl_346`, `dnc`.`fl4q06` SET `fl_346`.`no_solicit`='S' 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


Reply With Quote
Bookmarks