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: Delete a row if CLOB Data is empty or NULL

Re: Delete a row if CLOB Data is empty or NULL

From: Thomas Kellerer <BDHLDUUTPRWS_at_spammotel.com>
Date: Wed, 05 Apr 2006 08:58:38 +0200
Message-ID: <49h852Foebc0U1@individual.net>


parcha_at_gmail.com wrote:
> I have a table with two columns 'id'(VARCHAR2) and CLOB
>
> Can someone tell me how can I write a SQL Query to delete a row from
> the table if the CLOB data is null or empty?
>
> Thanks.
>

A quick look into Oracle's SQL Reference would have revealed the following

where clob_col is null or length(clob_col) = 0

Thomas Received on Wed Apr 05 2006 - 01:58:38 CDT

Original text of this message

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