-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconsumer_reference.sql
41 lines (37 loc) · 1.47 KB
/
consumer_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.consumer_reference (
id INT NOT NULL
,name NVARCHAR(4000) COLLATE Cyrillic_General_CI_AS NOT NULL
,description NVARCHAR(MAX) COLLATE Cyrillic_General_CI_AS NULL
,CONSTRAINT PK_consumer_reference PRIMARY KEY CLUSTERED (id)
,CONSTRAINT UK_consumer_reference_name UNIQUE (name)
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
GO
EXEC sys.sp_addextendedproperty N'MS_Description'
,'идентификатор клиента'
,'SCHEMA'
,N'dbo'
,'TABLE'
,N'consumer_reference'
,'COLUMN'
,N'id'
GO
EXEC sys.sp_addextendedproperty N'MS_Description'
,'название'
,'SCHEMA'
,N'dbo'
,'TABLE'
,N'consumer_reference'
,'COLUMN'
,N'name'
GO
EXEC sys.sp_addextendedproperty N'MS_Description'
,'описание'
,'SCHEMA'
,N'dbo'
,'TABLE'
,N'consumer_reference'
,'COLUMN'
,N'description'
GO