Reply to Newbie question about multiple databases

Your name:

Reply:


Posted by GD on 07/13/07 17:17

if i have this query:
SELECT * FROM books2006, books2007;


(books 2006 and 2007 have exactly the same fields.)

how can i tell if the data was retrieved from books2006 or books2007
(whitout changing anything in the databases) ?

in other words is there any way that along the information that i
retrieve from the fields (ex. author, date_published, isbn) that i
also get the name of the database from which i retrieved the
information?

thank you very much,

GD

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация