Quantcast
Channel: SQLServerCentral » SQL Server 2014 » Administration - SQL Server 2014 » Latest topics
Viewing all articles
Browse latest Browse all 6525

Delete duplicate records from Archived Table the exist in the unarchived table.

$
0
0
I need to deletes the records that exist in the PrismData.dbo.tblCall Table that exist in the Archived Table'PrismDataArchive.dbo.tblCallArchive 'Here are the duplicates:[code="sql"]SELECT COUNT(*)FROM PrismData.dbo.tblCall AS Call_ProdINNER JOIN PrismDataArchive.dbo.tblCallArchive AS arc ON Call_Prod.Call_ID = arc.Call_ID[/code]I want to insert the records to be deleted to be safe.I know this is easy. I had to work over the Christmas Holiday and I'm so tired.Any help would be greatly appreciated.

Viewing all articles
Browse latest Browse all 6525

Trending Articles