|
|
- --��ɫ
- create table tb_manager_role (
- id int identity, --����ID
- role_name nvarchar(100) null, --��ɫ����
- role_type tinyint null, --��ɫ����
- constraint PK_TB_MANAGER_ROLE primary key (id)
- )
- go
-
- declare @CurrentUser sysname
- select @CurrentUser = user_name()
- execute sp_addextendedproperty 'MS_Description',
- '����ID',
- 'user', @CurrentUser, 'table', 'tb_manager_role', 'column', 'id'
- go
- declare @CurrentUser sysname
- select @CurrentUser = user_name()
- execute sp_addextendedproperty 'MS_Description',
- '��ɫ����',
- 'user', @CurrentUser, 'table', 'tb_manager_role', 'column', 'role_name'
- go
- declare @CurrentUser sysname
- select @CurrentUser = user_name()
- execute sp_addextendedproperty 'MS_Description',
- '��ɫ����',
- 'user', @CurrentUser, 'table', 'tb_manager_role', 'column', 'role_type'
- go
|