Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Empty columns comparison

324137Dec 19 2006 — edited Dec 20 2006
Hello All,

Is there a kind of a "global setting" in pl/sql that may be changed in order to have Oracle evaluates two empty (null) strings as equal or the only way is to use NVL(<col>,0) = NVL(<col>,0) when comparing two database columns as in ?

SELECT ... FROM a, b WHERE a.col1 = b.col1

Thank you.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 17 2007
Added on Dec 19 2006
23 comments
842 views