Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
The code for using OUTPUT with the DELETE statement
DELETE FROM dbo.CustomersTableIdent
OUTPUT deleted.id, deleted.FirstName, deleted.LastName
WHERE id % 5 = 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment