select * from table where temp <> '擦擦';
如果temp里面的除了"擦擦"数据,其它为null则使用下面的sql语句
select * from table where isnull(temp,'') <> '擦擦';
sqlserver2005查询不等于语法
最新推荐文章于 2022-08-18 16:40:49 发布
select * from table where temp <> '擦擦';
如果temp里面的除了"擦擦"数据,其它为null则使用下面的sql语句
select * from table where isnull(temp,'') <> '擦擦';