Import / Export database with SQL Server Server Management Studio

前端 未结 5 422
Happy的楠姐
Happy的楠姐 2020-11-29 16:58

I thought this would be trivial, but it isn\'t... I\'m sure there is a simple way to do it but I can\'t manage to find it. Shame on me.

I want to import/exp

5条回答
  •  时光说笑
    2020-11-29 17:20

    Right click the database itself, Tasks -> Generate Scripts...

    Then follow the wizard.

    For SSMS2008+, if you want to also export the data, on the "Set Scripting Options" step, select the "Advanced" button and change "Types of data to script" from "Schema Only" to "Data Only" or "Schema and Data".

提交回复
热议问题