Mar 17, 2004 #1 coolkille Programmer Mar 17, 2004 1 SE This is working on oracle but not on mysql. Nead help to solve this. Regards Miakel update phpmod_listings b set b.image = 1 where exists ( select a.listing_id from phpmod_listings_images a where a.id=b.id);
This is working on oracle but not on mysql. Nead help to solve this. Regards Miakel update phpmod_listings b set b.image = 1 where exists ( select a.listing_id from phpmod_listings_images a where a.id=b.id);
Mar 17, 2004 #2 TonyGroves Programmer Aug 13, 2003 2,389 IE Which version of MySQL are you using? You need version 4.1 to do a sub-select. Upvote 0 Downvote