Created
February 3, 2015 16:59
-
-
Save AlexArchive/9649d79540dc0d49c51f to your computer and use it in GitHub Desktop.
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
DROP TABLE Announcements | |
CREATE TABLE Announcements ( | |
AnnouncementId INT NOT NULL PRIMARY KEY IDENTITY(1,1), | |
Title NVARCHAR(250) NOT NULL, | |
Body NVARCHAR(4000) NOT NULL, | |
AnnouncementDate DATE NOT NULL | |
); | |
INSERT INTO Announcements | |
VALUES ('Announcement 1', 'Announcement 1 Body', GETDATE()), | |
('Announcement 2', 'Announcement 2 Body', GETDATE()), | |
('Announcement 3', 'Announcement 3 Body', GETDATE()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment