Easiest way to copy an entire SQL server Database from a server to local SQL Express

前端 未结 7 1523
一整个雨季
一整个雨季 2020-12-08 06:00

I need to copy an entire database from a SQL Server 2005 on my server over to my local SQL Express in order to run my application for a presentation. What is the fastest/ea

相关标签:
7条回答
  • 2020-12-08 06:30

    You can right click the database -> Tasks -> Generate scripts. Here you can select one, multiple, or all objects. Then in the 'Set Scripting Options' step of the wizard, click Advanced. In here set the property 'Types of Data to script; to Schema and Data.

    Having done these steps, make sure you publish to a file. Because only file can handle large amounts of data.

    Now you should have all your objects, tables, and data scripted. Now start running the scripts and viola!

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