标签:HERE rom 不为 where char mysql sel varchar class
1、不为空 Select * From table_name Where id<>‘‘ Select * From table_name Where id!=‘‘ 2、为空 Select * From table_name Where id=‘‘ Select * From table_name Where ISNULL(id) 具体情况具体分析,如果字段是char和varchar型用 id=‘‘可以;如果是int型用 ISNULL好些
标签:HERE rom 不为 where char mysql sel varchar class
原文地址:https://www.cnblogs.com/clubs/p/11050429.html