Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: IS NULL on empty varChar2
Mark Townsend <markbtownsend_at_comcast.net> wrote in
news:5kDfd.12962$R05.12388_at_attbi_s53:
> dbyy wrote:
>> >> on a IF statement as follow >> >> 1) The attribute Col1 is an empty string <''> >> 2) on the statement (in PL/SQL/trigger) <IF TRIM(Col1) IS NULL> >> it returns TRUE. >> >> IMHO, In this case, Col1 can't be NULL, it should be a (empty) >> string. >>
Thanks Mark,
that was very helpful.
Fred
Received on Tue Oct 26 2004 - 22:02:53 CDT