Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have SQL Server Management Studio (for SQL Server Express R2) on my pc, and I'd like to export a few databases for use by a website that's running on a server with SQL Server Web. However, when I right click one of the databases in management studio and go to Tasks > Export Data ... a window comes up warning me that when migrating to another instance of SQL Server, I should use the Copy Database Wizard. However, I can't find this wizard in management studio. When I right click on the database and go to Tasks, there is no option for Copy Database. I must have done something wrong. Has anyone experienced this problem before?

Thanks,

Andrew

share|improve this question

2 Answers 2

up vote 0 down vote accepted

Okay, it turns out that there's an Advanced button that contains the option that I was looking for. The steps are as follows:

  1. Right-click the database in SQL Server Management Studio.
  2. Go to Tasks > Generate Scripts...
  3. In the Set Scripting Options step of the wizard, click the button labeled Advanced and set "Types of data to script" equal to "Schema and data".

This will generate a script to recreate the database. Apparently, the Copy Database option in the context menu for right-clicking on the database just doesn't exist in the version of Sql Server Management Studio that I have.

Andrew

share|improve this answer

The Copy Database wizard isn't included in the Express tools, which is OK because it sucks anyway. The best bet would be to backup the database and restore it to the new server (as long as both servers are running the same major version).

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.