首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 数据库 > SQL Server >

运用SqlServer2008

2013-03-29 
使用SqlServer2008--表注释if exists (select * from ::fn_listextendedproperty(MS_Description, sche

使用SqlServer2008
--表注释if exists (select * from ::fn_listextendedproperty('MS_Description', 'schema', 'dbo', 'table', 'SYS_ACTION', default, default))BEGIN exec sys.sp_dropextendedproperty 'MS_Description', 'schema', 'dbo', 'table', 'SYS_ACTION'ENDexec sys.sp_addextendedproperty 'MS_Description', '权限表', 'schema', 'dbo', 'table', 'SYS_ACTION'go--字段注释if exists (select * from ::fn_listextendedproperty('MS_Description', 'schema', 'dbo', 'table', 'SYS_ACTION', 'column', 'id'))BEGIN exec sys.sp_dropextendedproperty 'MS_Description', 'schema', 'dbo', 'table', 'SYS_ACTION', 'column', 'id'ENDexec sys.sp_addextendedproperty 'MS_Description', '权限ID', 'schema', 'dbo', 'table', 'SYS_ACTION', 'column', 'id'go

?

?

?

?

?

?

?

?

热点排行