![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
#3
| |||
| |||
|
|
Hello, You can select the "Drop any database on the destination server with the same name, then continue with the database transfer, overwriting existing database files." option if you use SQL server 2005 Copy Database wizard. The following steps are for your reference: 1. Start SQL server 2005 management studio. 2. Right-click the database you want to copy, select "Tasks > Copy Database" 3. Follow the wizard to copy database, make sure you select the "Drop any database on the destination server with the same name, then continue with the database transfer, overwriting existing database files." option. I hope the information is helpful. Sophie Guo Microsoft Online Partner Support Get Secure! - www.microsoft.com/security ================================================== === When responding to posts, please "Reply to Group" via your newsreader so that others may learn and benefit from your issue. ================================================== === This posting is provided "AS IS" with no warranties, and confers no rights. |
#4
| |||
| |||
|
#5
| |||
| |||
|
|
Hello, Bases on my test, we can use the SQL Server Import and Export Wizard to do the job. After starting the SQL Server Import and Export Wizard, on the "Select Source Tables and Views" screen, we can click the Edit button. And then select "Drop and re-create destination table" option in the "Column Mappings" window. I have tested the issue on my side successfully. For more information, you may want to refer to the following web site: How to: Start the SQL Server Import and Export Wizard http://msdn2.microsoft.com/en-us/library/ms140052.aspx Creating Packages Using the SQL Server Import and Export Wizard http://msdn2.microsoft.com/en-us/library/ms141209.aspx If the issue still exists, please post here the exact error messages you received for research. Please post here the exact steps to reproduce your issue. I will test it on my side. As for copy database wizard, you can use copy database wizard to copy a SQL server 2000 database to a SQL server 2005 server. For the required permission for running the copy database wizard, you can refer to the information in the "Using the Copy Database Wizard" in SQL server 2005 books online: Required permissions For the Copy Database Wizard to work, you must have the correct permissions, depending on how you are copying the database, as follows: " For the Detach and Attach Method, you must be a member of the sysadmin fixed server role on the both source and destination servers. " For the SMO Transfer method, you need to be a database owner for the source database, and on the destination server you must either have been granted the CREATE DATABASE permission or be a member of the dbcreator fixed server role. For more information, access to the following web site: Using the Copy Database Wizard http://msdn2.microsoft.com/en-us/library/ms188664.aspx I hope the information is helpful. Sophie Guo Microsoft Online Partner Support Get Secure! - www.microsoft.com/security ================================================== === When responding to posts, please "Reply to Group" via your newsreader so that others may learn and benefit from your issue. ================================================== === This posting is provided "AS IS" with no warranties, and confers no rights. |
#6
| |||
| |||
|
|
Hello, Bases on my test, we can use the SQL Server Import and Export Wizard to do the job. After starting the SQL Server Import and Export Wizard, on the "Select Source Tables and Views" screen, we can click the Edit button. And then select "Drop and re-create destination table" option in the "Column Mappings" window. I have tested the issue on my side successfully. For more information, you may want to refer to the following web site: How to: Start the SQL Server Import and Export Wizard http://msdn2.microsoft.com/en-us/library/ms140052.aspx Creating Packages Using the SQL Server Import and Export Wizard http://msdn2.microsoft.com/en-us/library/ms141209.aspx If the issue still exists, please post here the exact error messages you received for research. Please post here the exact steps to reproduce your issue. I will test it on my side. As for copy database wizard, you can use copy database wizard to copy a SQL server 2000 database to a SQL server 2005 server. For the required permission for running the copy database wizard, you can refer to the information in the "Using the Copy Database Wizard" in SQL server 2005 books online: Required permissions For the Copy Database Wizard to work, you must have the correct permissions, depending on how you are copying the database, as follows: " For the Detach and Attach Method, you must be a member of the sysadmin fixed server role on the both source and destination servers. " For the SMO Transfer method, you need to be a database owner for the source database, and on the destination server you must either have been granted the CREATE DATABASE permission or be a member of the dbcreator fixed server role. For more information, access to the following web site: Using the Copy Database Wizard http://msdn2.microsoft.com/en-us/library/ms188664.aspx I hope the information is helpful. Sophie Guo Microsoft Online Partner Support Get Secure! - www.microsoft.com/security ================================================== === When responding to posts, please "Reply to Group" via your newsreader so that others may learn and benefit from your issue. ================================================== === This posting is provided "AS IS" with no warranties, and confers no rights. |
![]() |
| Thread Tools | |
| Display Modes | |
| |