Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我以前从未遇到过这种情况:
fieldname <> ''
如何在 Oracle PL/SQL 中读取此条件?
它总是错误的,因为 Oracle 不支持零长度字符串。它将它们视为 null ,而 null 不等于或不等于任何东西,甚至它本身。
字段名不等于空白字符串
http://en.wikipedia.org/wiki/SQL#Operators
字段名不等于空字符串
这对应于 Not equal(<>) to null ('')