当前位置: 代码迷 >> Sql Server >> 在sql2005中,用sql语句怎么更新一列的description属性
  详细解决方案

在sql2005中,用sql语句怎么更新一列的description属性

热度:63   发布时间:2016-04-27 21:09:02.0
在sql2005中,用sql语句如何更新一列的description属性
在sql2005中,用sql语句如何更新一列的description属性

------解决方案--------------------
SET ANSI_PADDING OFF
GO
EXEC sys.sp_addextendedproperty @name=N 'MS_Description ', @value=N '可用否 ' , @level0type=N 'SCHEMA ',@level0name=N 'dbo ', @level1type=N 'TABLE ',@level1name=N '你的表名 ', @level2type=N 'COLUMN ',@level2name=N 'Enabled '--你的字段名
  相关解决方案