You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 regels
930 B

--½ÇÉ«
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