| Welcome to WebmasterWorld Guest from 22.214.171.124 |
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
|Become a Pro Member|
|sql update multi rows|
| 6:08 am on Jul 4, 2013 (gmt 0)|
I have the following sql code but not working. Please help.
update table set field1='No' where field2='number1, number2, number3';
| 6:17 am on Jul 4, 2013 (gmt 0)|
update table set field1='No' where field2 in ('number1', 'number2', 'number3');
| 4:59 pm on Jul 4, 2013 (gmt 0)|
All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved