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: SQL question

Re: SQL question

From: Alex Filonov <afilonov_at_pro-ns.net>
Date: Fri, 15 Sep 2000 20:18:10 GMT
Message-ID: <8pu05b$kl3$1@nnrp1.deja.com>

In article <8ptroc$f55$1_at_nnrp1.deja.com>,   newyorkdoll_at_my-deja.com wrote:
> Hi,
>
> I need to drop several rows in <table> where the field 'name' is set
 to
> certain values. I'm currently using a drop statement for each field
> value. Does Oracle sqlplus allow more than one field value to be
> specfied in a single command? ie.
>
> SQL>delete from <table>
> where name='X' or name='Y' or name='Z'

You can use this statement as is. SQL supports AND, OR and NOT in where clause.

>
> ?
>
> Thankyou.
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
>

Sent via Deja.com http://www.deja.com/
Before you buy. Received on Fri Sep 15 2000 - 15:18:10 CDT

Original text of this message

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