| Welcome to WebmasterWorld Guest from 184.108.40.206 |
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
|Subscribe to WebmasterWorld|
|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