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 -> deleting records that match other table

deleting records that match other table

From: MSWEENEY <MSWEENEY01_at_ADELPHIA.NET>
Date: 8 Mar 2006 17:40:34 -0800
Message-ID: <1141868434.702834.116510@i40g2000cwc.googlegroups.com>


I am trying to a DELETE that I thought would be simple but isn't.

I have table A and table B. Both have a column named "Number". There are duplicate records in the two tables.

All I want to do is delete all of the records in table A that exist in table B. In essence where A.number = b.number.

I tried:

delete from TABLE_A
WHERE [A].[NUMBER] = [B].[NUMBER] Got an error.

Any help would be great!

Thank you, Mark Received on Wed Mar 08 2006 - 19:40:34 CST

Original text of this message

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