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

CTE Script Needed for delete statement

$
0
0
Hi,we are using below script for delete records.but it is taking timeUSE AdventureWorks2008R2;GODELETE * FROM Purchasing.PurchaseOrderDetailWHERE DueDate = '20020701';GOis there any possibility of chance to delete the rows from table WHERE DueDate = '20020701'; USING CTE Funcion.Can we any one provide the script for faster deletes

Viewing all articles
Browse latest Browse all 3145

Trending Articles