Skip to content

Instantly share code, notes, and snippets.

/update.sql

Created Jan 21, 2016
Embed
What would you like to do?
UPDATE dbo.Emp
SET MiddleName = 'Muriel'
WHERE FirstName = 'Chandler' AND LastName = 'Bing'
UPDATE dbo.Emp
SET LastName = 'Bing'
WHERE FirstName = 'Monica' AND LastName = 'Geller'
DELETE dbo.Emp
WHERE FirstName = 'Joey' AND LastName = 'Tribbiani'
INSERT dbo.Emp
VALUES ('Mike', NULL, 'Hannigan')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment