Skip to content

Commit e024d40

Browse files
author
Timon Viola
committed
test: add mssql init script
1 parent 02182c5 commit e024d40

File tree

2 files changed

+22
-1
lines changed

2 files changed

+22
-1
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ venv.bak/
4444
######################
4545
*.log
4646
*.log.*
47-
*.sql
4847
*.sqlite
4948

5049
# OS generated files #
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
USE [master];
2+
GO
3+
4+
SET ANSI_NULLS ON
5+
GO
6+
SET QUOTED_IDENTIFIER ON
7+
GO
8+
CREATE TABLE [dbo].[test](
9+
[PurchaseOrderID] [int] NOT NULL,
10+
[LineNumber] [smallint] NOT NULL,
11+
[UnitPrice] [money] NULL,
12+
[OrderQty] [smallint] NULL,
13+
[RejectedQty] [float] NULL,
14+
[DueDate] [datetime] NULL,
15+
[uniqueidentifier] [uniqueidentifier] NOT NULL DEFAULT NEWID(),
16+
) ON [PRIMARY]
17+
GO
18+
19+
INSERT INTO [master].[dbo].[test]
20+
VALUES (1, 3, 1234.23, 3, 23.231, '2004-05-23T14:25:10', NEWID());
21+
GO
22+

0 commit comments

Comments
 (0)