Best way to copy a database (SQL Server 2008)

后端 未结 8 1686
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-04 06:50

Dumb question - what\'s the best way to copy instances in an environment where I want to refresh a development server with instances from a production server?

I\'v

8条回答
  •  温柔的废话
    2020-12-04 07:27

    Below is what I do to copy a database from production env to my local env:

    1. Create an empty database in your local sql server
    2. Right click on the new database -> tasks -> import data
    3. In the SQL Server Import and Export Wizard, select product env's servername as data source. And select your new database as the destination data.

提交回复
热议问题