SQL Server 2012

前端 未结 1 1045
滥情空心
滥情空心 2021-01-19 03:26

Is there a way to export DDL for SQL Server 2012?

A previous question of this nature was answered in Dec 2009, but it does not seem to apply, Previous answer: For SQ

相关标签:
1条回答
  • 2021-01-19 03:42

    I assume you want to script the DDL from a particular database on your SQL Server 2012 instance. To do so you click on the database of interest in SSMS, then right click and then hover over 'Tasks >', and then across and down to click on 'Generate Scripts'. This will open the wizard as shown in the three screen shots below. Tip: Be sure to check out the scripting options on the 'Advanced' tab.

    Generate Script - 1

    Choose Options Dialog

    Scripting Options Dialog

    0 讨论(0)
提交回复
热议问题