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: Sybrand Bakker <postbus_at_sybrandb.demon.nl>
Date: Fri, 15 Sep 2000 21:51:43 +0200
Message-ID: <969048386.7785.1.pluto.d4ee154e@news.demon.nl>

Sure, why wouldn't it?
or use where name in ('X','Y','Z'), has the same result. I think you need to buy a sql tutorial, your question is really *very* basic.

Regards,

Sybrand Bakker, Oracle DBA

<newyorkdoll_at_my-deja.com> wrote in message news:8ptroc$f55$1_at_nnrp1.deja.com...
> 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'
>
> ?
>
> Thankyou.
>
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
Received on Fri Sep 15 2000 - 14:51:43 CDT

Original text of this message

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