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: Deleting records where they are in another table

Re: Deleting records where they are in another table

From: Mark D Powell <Mark.Powell_at_eds.com>
Date: 1 Jun 2006 08:48:48 -0700
Message-ID: <1149176928.345309.20700@f6g2000cwb.googlegroups.com>

Anurag Varma wrote:
> ORA92> delete (select a.* from testA a, testB b where a.id = b.id and
> a.d1 = b.d1);
>
> 26 rows deleted.
>
> ... should work provided the tables have a PK on the id and date
> columns....
>
> Anurag

I forgot about update views which is what Anurag example is called.

Received on Thu Jun 01 2006 - 10:48:48 CDT

Original text of this message

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