PowerDesign 增加注释脚本的功能

database --- > edit current database...

general -> script-> object-> table-> table comment
添加:
[execute ]sp_addextendedproperty N'MS_Description',
    N%.q:COMMENT%,
    N'user', N'dbo', N'table', N%.q:TABLE%

同上 column -> columncomment

添加

[execute ]sp_addextendedproperty N'MS_Description',
    N%.q:COMMENT%,
    N'user', N'dbo', N'table', N%.q:TABLE%, N'column', N%.q:COLUMN%

 

同时在生成的时候把注释的选项 打上勾

相关文章:

  • 2022-12-23
  • 2021-09-29
  • 2022-12-23
  • 2021-12-04
  • 2021-10-08
  • 2022-02-26
  • 2022-01-26
  • 2021-08-24
猜你喜欢
  • 2021-11-11
  • 2022-02-03
  • 2022-12-23
  • 2022-12-23
  • 2021-11-12
  • 2021-09-12
  • 2021-07-20
相关资源
相似解决方案