在asp中经常用到的判断为空

在sql语句中经常用到判断是否为空,有的时候在使用时,出现异常或者错误

当空时判断出错



sql语句判断是否为空

还有另一种判断是否为空的sql语句

比如

"select * from db where img is not null"这个是选择所有的img不为空的内容

"select * from db where img is null"这个是选择所有的img为空的内容