Generate script in SQL Server Management Studio

陌路散爱 提交于 2019-11-26 22:21:07

Here what you have to do:

  1. right click the database (not the table) and select tasks --> generate scripts
  2. Next --> select the requested table/tables (from select specific database objects)
  3. next --> click advanced --> types of data to script = schema and data
  4. next and finish

Use SSMS scripting feature (Rightclick on database->Tasks->Generate Scripts)

or

use SSMS Tools Pack

Here You can see step by step process of Generate script in SQL Server Management Studio :

Step 1: Right Click on Your Database --> Select Task-->Generate Script..

Step 2: Select Next in Script Wizard

Step 3: Select Script Entire Database

Step 4:Choose Your File Name

and Finish

Now you can use your script file.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!