📜  如何从 SQL Server 中的表中制作插入脚本 - SQL 代码示例

📅  最后修改于: 2022-03-11 15:05:23.652000             🧑  作者: Mango

代码示例1
Right-click on the database and go to Tasks > Generate Scripts.
Select the tables (or objects) that you want to generate the script against.
Go to Set scripting options tab and click on the Advanced button.
In the General category, go to Type of data to script
There are 3 options: Schema Only, Data Only, and Schema and Data. Select the appropriate option and click on OK.