Generate table DDL via query on MySQL and SQL Server

前端 未结 3 525
别那么骄傲
别那么骄傲 2021-02-11 16:41

Is there an easy way to extract table DDL information, via a query, using either Ms or My SQL server? (preferably both?)

For example, using MySQL Administrator / Navica

3条回答
  •  栀梦
    栀梦 (楼主)
    2021-02-11 16:50

    You have to create that yourself.

    You can query INFORMATION_SCHEMA.COLUMNS for the column name and data type.

提交回复
热议问题