查询sqlserver中字段不为null且不为空语句

SELECT top 100 * FROM 表名 WHERE 字段名 IS NOT NULL AND 字段名 <> '';

猜你喜欢

转载自www.cnblogs.com/free-1124/p/12408345.html