oralearner
Programmer
Oracle 816 Documentation states:
"Strings of Zero Length Are Not Equivalent To a NULL
A string of zero length ('') is not equivalent to a NULL.
According to the ANSI SQL 1992 Transitional standard, a zero-length or empty string is not the same as NULL. The Oracle database server may comply fully with this aspect of the standard in the future. "
select length('') from dual;
LENGTH('')
----------
select length(null) from dual;
LENGTH(NULL)
------------
select 1 from dual where '' is null;
1
----------
1
Does this mean that '' is null ?
"Strings of Zero Length Are Not Equivalent To a NULL
A string of zero length ('') is not equivalent to a NULL.
According to the ANSI SQL 1992 Transitional standard, a zero-length or empty string is not the same as NULL. The Oracle database server may comply fully with this aspect of the standard in the future. "
select length('') from dual;
LENGTH('')
----------
select length(null) from dual;
LENGTH(NULL)
------------
select 1 from dual where '' is null;
1
----------
1
Does this mean that '' is null ?