Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/sql/72.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Sql 删除列中值为空的行_Sql_Sql Server_Delete Row - Fatal编程技术网

Sql 删除列中值为空的行

Sql 删除列中值为空的行,sql,sql-server,delete-row,Sql,Sql Server,Delete Row,如何从名为的表中删除所有行: bhxsql2014-dev.dbo.EUACTIVESTORES 其中列[Store No]具有空值 我正在使用MS SQL Server Management Studio以下是您需要的: delete from [bhxsql2014-dev].dbo.EUACTIVESTORES where [Store No] is null 以下是您需要的: delete from [bhxsql2014-dev].dbo.EUACTIVESTORES where

如何从名为的表中删除所有行:

bhxsql2014-dev.dbo.EUACTIVESTORES
其中列[Store No]具有空值

我正在使用MS SQL Server Management Studio

以下是您需要的:

delete from [bhxsql2014-dev].dbo.EUACTIVESTORES
where [Store No] is null
以下是您需要的:

delete from [bhxsql2014-dev].dbo.EUACTIVESTORES
where [Store No] is null

使用
IS
运算符
Delete from[bhxsql2014 dev].dbo.EUACTIVESTORES其中[Store No]为空
提示:
其中[Store No]为空
。问题的标题已包含解决方案。;)我明白了,现在还在这里学习…Use
IS
operator
从[bhxsql2014 dev].dbo.EUACTIVESTORES中删除[Store No]为NULL
提示:
其中[Store No]为NULL
。问题的标题已经有了答案。;)我明白了,现在还在这里学习。。。