Show create table tablename in SQL Server

后端 未结 3 750
心在旅途
心在旅途 2020-12-10 11:09

In MySQL it is possible to do show create table tablename

What is the SQL Server equivalent?

3条回答
  •  北荒
    北荒 (楼主)
    2020-12-10 12:02

    One that might be close:

    exec sp_columns YourTableName
    

提交回复
热议问题