Skip to content

Instantly share code, notes, and snippets.

@AlexArchive
Created February 3, 2015 16:59
Show Gist options
  • Save AlexArchive/9649d79540dc0d49c51f to your computer and use it in GitHub Desktop.
Save AlexArchive/9649d79540dc0d49c51f to your computer and use it in GitHub Desktop.
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