1
0
mirror of https://github.com/Microsoft/sql-server-samples.git synced 2025-12-08 14:58:54 +00:00

Added setup and refactoring

This commit is contained in:
Jovan Popovic
2016-06-18 23:09:56 +02:00
parent 3aa76a3a21
commit 45c1308e38
6 changed files with 27 additions and 17 deletions

View File

@ -0,0 +1,19 @@
DROP TABLE IF EXISTS Todo
GO
CREATE TABLE Todo (
Id int IDENTITY PRIMARY KEY,
Title nvarchar(30) NOT NULL,
Description nvarchar(4000),
Completed bit,
TargetDate datetime2
)
GO
INSERT INTO Todo (Title, Description, Completed, TargetDate)
VALUES
('Install SQL Server 2016','Install RTM version of SQL Server 2016', 0, '2016-06-01'),
('Get new samples','Go to github and download new samples', 0, '2016-06-02'),
('Try new samples','Install new Management Studio to try samples', 0, '2016-06-02')