In SQL Server, how do I generate a CREATE TABLE statement for a given table?

前端 未结 16 2401
离开以前
离开以前 2020-11-22 11:34

I\'ve spent a good amount of time coming up with solution to this problem, so in the spirit of this post, I\'m posting it here, since I think it might be useful to others. <

16条回答
  •  春和景丽
    2020-11-22 11:54

    Show create table in classic asp (handles constraints, primary keys, copying the table structure and/or data ...)

    Sql server Show create table Mysql-style "Show create table" and "show create database" commands from Microsoft sql server. The script is written is Microsoft asp-language and is quite easy to port to another language.*

提交回复
热议问题