Thứ Bảy, 15 tháng 9, 2018

[SQL] Effective way to delete large number of records in large table

-- batch size: 20,000
-- total records: 10,000,000

DELETE TOP (20000)
FROM TableName
WHERE Condition

GO 500

Không có nhận xét nào :

Đăng nhận xét