📅  最后修改于: 2022-03-11 15:05:32.960000             🧑  作者: Mango
set rowcount 10000
while 1=1
begin
DELETE FROM customers WHERE cust_num LIKE '%8009______'
IF @@rowcount = 0
BREAK
ELSE
CHECKPOINT
end