
sql 查询语句怎么判断一个字段为空
2个回答
展开全部
例如:
select * from testTable where lie is null
select * from testTable where lie =''
存储过程里面可以这样写:
@CountryCode varchar(200)
if(@CountryCode='')
begin
end
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询
例如:
select * from testTable where lie is null
select * from testTable where lie =''
存储过程里面可以这样写:
@CountryCode varchar(200)
if(@CountryCode='')
begin
end
类别
我们会通过消息、邮箱等方式尽快将举报结果通知您。
说明
0/200