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

Home -> Community -> Usenet -> c.d.o.server -> Re: Delete a row

Re: Delete a row

From: DA Morgan <damorgan_at_psoug.org>
Date: Tue, 04 Apr 2006 14:53:35 -0700
Message-ID: <1144187614.643462@yasure.drizzle.com>


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.

If you have a column named ID ... rename it.

SELECT keyword FROM v_$reserved_words;

But to answer your question.

DELETE FROM t
WHERE id = <some_value>;

-- 
Daniel A. Morgan
http://www.psoug.org
damorgan_at_x.washington.edu
(replace x with u to respond)
Received on Tue Apr 04 2006 - 16:53:35 CDT

Original text of this message

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