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

Home -> Community -> Mailing Lists -> Oracle-L -> Re: How to delete from one table based on a multiple table query

Re: How to delete from one table based on a multiple table query

From: Steve Boyd <pimaco_oracle_at_hotmail.com>
Date: Fri, 12 May 2000 17:57:40 GMT
Message-Id: <10495.105543@fatcity.com>


And I suppose you would write it something like:

DELETE FROM TABLE1, TABLE2
WHERE TABLE1.FLD1 = TABLE2.FLD2; You can't do that in Oracle.

>From: "Atish Prasad Das" <atish.das_at_wipro.com>
>Reply-To: ORACLE-L_at_fatcity.com
>To: Multiple recipients of list ORACLE-L <ORACLE-L_at_fatcity.com>
>Subject: Re: How to delete from one table based on a multiple table query
>Date: Fri, 12 May 2000 08:48:55 -0800
>
>i can't see a reason, why can't u do that using a straight forward delete
><table> where <joins.......> stmt!!!
>
>----- Original Message -----
>To: Multiple recipients of list ORACLE-L <ORACLE-L_at_fatcity.com>
>Sent: Friday, May 12, 2000 8:47 PM
>
>
> > I am trying to delete from a single table those records that
> > match the results from a query joining several tables. This does
> > not seem to work properly using a where exists statement. Does anyone
> > have an alternative way of handling this?
> >
> > Thanks,
> > Christian
> > --
> > Author: Christian Carollo
> > INET: CCarollo_at_viva.com
> >
> > Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
> > San Diego, California -- Public Internet access / Mailing Lists
> > --------------------------------------------------------------------
> > To REMOVE yourself from this mailing list, send an E-Mail message
> > to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
> > the message BODY, include a line containing: UNSUB ORACLE-L
> > (or the name of mailing list you want to be removed from). You may
> > also send the HELP command for other information (like subscribing).
> >
>
>--
>Author: Atish Prasad Das
> INET: atish.das_at_wipro.com
>
>Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
>San Diego, California -- Public Internet access / Mailing Lists
>--------------------------------------------------------------------
>To REMOVE yourself from this mailing list, send an E-Mail message
>to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
>the message BODY, include a line containing: UNSUB ORACLE-L
>(or the name of mailing list you want to be removed from). You may
>also send the HELP command for other information (like subscribing).



Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com Received on Fri May 12 2000 - 12:57:40 CDT

Original text of this message

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