Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: empty (not null) field values

Re: empty (not null) field values

From: Atta ur-Rehman <atta707_at_my-deja.com>
Date: Thu, 09 Mar 2000 10:05:50 GMT
Message-ID: <8a7t1t$73a$1@nnrp1.deja.com>


hi,

well not that i know of. but look that this:

create or replace function isEmpty(value IN varchar2) return boolean
is
begin

        return ((value = 0) OR (length(ltrim(rtrim(value))) is null)); end;

I think this should serve as a good starting point to further customize this user-defined function to meet your specifice needs.

hope that helps.

:) ATTA In article <8a7qja$5i4$1_at_nnrp1.deja.com>,   rremus_at_yahoo.com wrote:
> Hi,
> Is there a function to test for empty values in fields, disregarding
> the data type of the field? By 'empty values' I mean the empty string
> (spaces or tabs) for characters, 0 for numerics etc.
> TIA,
> Remus
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
>

--

getting the meanin' of data...

Sent via Deja.com http://www.deja.com/
Before you buy. Received on Thu Mar 09 2000 - 04:05:50 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US