0

当我运行 sp_tables 时,我看到了一个备注字段。我知道在其他 SQL 程序中,我可以对表进行评论,但这在 MS SQL Server 中不起作用。我试过查找这个,但我没有得到任何地方。我希望能够使用此功能,而不是为数据字典创建表。

-- Table Information
exec sp_tables mytable;

-- Want to add to the remark column

-- Comment ode this doesn't work:
comment on table mytable is  'TEST';

谢谢 !

4

0 回答 0