-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathreport_instace_states_reference.sql
41 lines (37 loc) · 1.52 KB
/
report_instace_states_reference.sql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
USE Linegro
GO
CREATE TABLE dbo.report_instace_states_reference (
id INT NOT NULL
,code NCHAR(50) COLLATE Cyrillic_General_CI_AS NOT NULL
,description NVARCHAR(MAX) COLLATE Cyrillic_General_CI_AS NULL
,CONSTRAINT PK_report_instace_states_reference PRIMARY KEY CLUSTERED (id)
,CONSTRAINT UK_report_instace_states_reference_code UNIQUE (code)
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
GO
EXEC sys.sp_addextendedproperty N'MS_Description'
,'идентификатор'
,'SCHEMA'
,N'dbo'
,'TABLE'
,N'report_instace_states_reference'
,'COLUMN'
,N'id'
GO
EXEC sys.sp_addextendedproperty N'MS_Description'
,'код'
,'SCHEMA'
,N'dbo'
,'TABLE'
,N'report_instace_states_reference'
,'COLUMN'
,N'code'
GO
EXEC sys.sp_addextendedproperty N'MS_Description'
,'описание'
,'SCHEMA'
,N'dbo'
,'TABLE'
,N'report_instace_states_reference'
,'COLUMN'
,N'description'
GO