mirror of
https://github.com/Microsoft/sql-server-samples.git
synced 2025-12-08 14:58:54 +00:00
19 lines
504 B
Transact-SQL
19 lines
504 B
Transact-SQL
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') |