Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.tools -> Re: IF statement fails when it should no (PL/SQL)
"don" <chambers_at_inquiregroup.com> wrote:
> I have the folowing if statement:
> IF (theDoc.SDNumber<>'') THEN
The empty string ('') is interpreted as NULL, so what you really want is:
if theDoc.SDNumber is not null then
...
end if;
Günter Received on Fri Mar 16 2001 - 17:03:41 CST
![]() |
![]() |