trim(nvl(ipaddress,'')) != ''
这段SQL 并没有像 MSSQL IsNull 一样返回不含空白或null 的内容
经尝试发现 trim('') 为 null
select 1 a from dual where '' = trim(' ') select 1 a from dual where trim(' ') is null
trim(nvl(ipaddress,'')) != ''
这段SQL 并没有像 MSSQL IsNull 一样返回不含空白或null 的内容
经尝试发现 trim('') 为 null
select 1 a from dual where '' = trim(' ') select 1 a from dual where trim(' ') is null