Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Deleting records where they are in another table
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 Received on Tue May 30 2006 - 10:37:26 CDT
![]() |
![]() |