I was wondering, when it comes to updating my database, is it possible to do it like so:
UPDATE SET Edited = 'Y' WHERE ID = 1,2,3,5';
or
UPDATE SET Edited = 'Y' WHERE ID = '1' AND WHERE ID = '2' AND WHERE ID = '3'; etc etc for each number that existed?
Basically im looking to affect more than a few rows that are different to each other. Is it poossible?




Reply With Quote

Bookmarks