NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
NVL() (Score:1)
Re: (Score:1)
Is that right?
I am thinking right now that the correct way to write this test would be
WHERE NVL(col1 != col2, FALSE). So it would return the resulting boolean value from all comparisons of existent values, but for comparisons involvingNULLit would default the resultingNULLtoFALSE. Basically you’re saying “compare the columns for inequality, and if they can’t be compared, then treat them as unequal.”By doing it this way you avoid semi-predicate problems.
Re:NVL() (Score:1)
Reply to This
Parent