SQL Server - Can you add field descriptions in CREATE TABLE?

后端 未结 4 1031
春和景丽
春和景丽 2020-12-25 13:36

I can see plenty of posts about where the field description extended property lives and how I can get it, but nothing about adding these at the CREATE TABLE stage.

I

4条回答
  •  抹茶落季
    2020-12-25 14:10

    I don't believe the Create Table T-SQL statement supports this. However, if you are defining your tables via SSMS, you can easily enter table level and column level comments at the same time you create your table.

提交回复
热议问题