读书人

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

发布时间: 2012-03-26 15:46:56 作者: rapoo

帮忙看看这个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

读书人网 >SQL Server

热点推荐