Oracle 查询某个字段非空

select * from my_table where my_col is not null and my_col <> ''; 查询数据为空sql 而code select * from my_table where my_col is not null; 有数据字符串 由于空字符串 '' 会自动转换为nulltable 所以出现查询条件如 my_col <> '' 则不会返回结果class
相关文章
相关标签/搜索