Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
January 28, 2008, 7:56 am
rate this thread
trying to figure out a way to determine which database a particular
field came from. I've used mysql_field_name and mysql_field_table for
field & table names but there does not seem to be a
Any pointers on writing one? :)
- Captain Paralytic
January 28, 2008, 1:25 pm
Well, in that case, you can simply mark your columns.
And don't use * to select columns.
db1.userid as db1_userid,
db1.name as db1_name,
db2.userid as db2_userid,
db2.city as db2_city
JOIN db2.tblcity etc etc.