Skip to content

Instantly share code, notes, and snippets.

@tdmitch
Created June 1, 2018 01:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tdmitch/35f22c9e950dda078ead4c1f3581de5c to your computer and use it in GitHub Desktop.
Save tdmitch/35f22c9e950dda078ead4c1f3581de5c to your computer and use it in GitHub Desktop.
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