I want to write a query to search every table in my database (about 200 tables) to see if any one of them has any record of a particular product code is there any way of writing a quick easy query to do this
sort of like
SELECT * FROM (all tables) WHERE product_code='$value'
Many Thanks
Rob