首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 数据库 > SQL Server >

帮忙看看这个sql语句解决方法

2012-03-26 
帮忙看看这个sql语句updatetable1setdataProdate 2007 ,periodID 1 ,area 0 ,isWheat 1whereareanull

帮忙看看这个sql语句
update   table1   set   dataProdate= '2007 ',periodID= '1 ',area= '0 ',isWheat= '1 '   where   area=null
更新area没有值的行,怎么不成功?

[解决办法]
update table1 set dataProdate= '2007 ',periodID= '1 ',area= '0 ',isWheat= '1 ' where area is null

热点排行