Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

sql server delete top 1000

;WITH CTE AS
(
SELECT TOP 1000 *
FROM [table]
ORDER BY column
)
DELETE FROM CTE
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #sql #server #delete #top
ADD COMMENT
Topic
Name
4+5 =