Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 DELETE BASED ON TWO TABLES

Author  Topic 

kamalkishore_in
Yak Posting Veteran

76 Posts

Posted - 2001-10-04 : 22:22:15
Hi again,
I need a query to delete records from one table based on the key.

Like :

DELETE FROM TABLE_A WHERE
TABLE_A.KEY = TABLE_B.KEY


I need to delete all the records from Table_A if the its key matches with Table_b Key.

Is it possible

Thanks

   

- Advertisement -