当前位置: 代码迷 >> Sql Server >> 怎么用sql语句将表中剖个字段的内容清空 20分赠送
  详细解决方案

怎么用sql语句将表中剖个字段的内容清空 20分赠送

热度:83   发布时间:2016-04-27 20:56:08.0
如何用sql语句将表中剖个字段的内容清空 20分赠送
如何用update   语句将表中的某个字段内容清空?请高人指点

------解决方案--------------------
update 表名
set 字段名= ' '
where条件
------解决方案--------------------
update tablename set colname=null
------解决方案--------------------
update 表
set 字段=null
where 条件
------解决方案--------------------
update 表
set 字段1=null,
字段2=null
where 条件
  相关解决方案