Created
June 1, 2018 01:07
-
-
Save tdmitch/e2edfd4c452a22896bc9a40426628686 to your computer and use it in GitHub Desktop.
create emp.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CREATE TABLE Emp | |
( | |
ID INT PRIMARY KEY IDENTITY(1, 1) | |
, FirstName VARCHAR(100) | |
, MiddleName VARCHAR(100) | |
, LastName VARCHAR(100) | |
) | |
ALTER TABLE dbo.Emp ENABLE CHANGE_TRACKING WITH (TRACK_COLUMNS_UPDATED = ON) | |
INSERT dbo.Emp VALUES ('Joey', NULL, 'Tribbiani') | |
INSERT dbo.Emp VALUES ('Chandler', NULL, 'Bing') | |
INSERT dbo.Emp VALUES ('Ross', NULL, 'Geller') | |
INSERT dbo.Emp VALUES ('Monica', NULL, 'Geller') | |
INSERT dbo.Emp VALUES ('Rachel', NULL, 'Green') | |
INSERT dbo.Emp VALUES ('Phoebe', NULL, 'Buffay') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment