dbTalk Databases Forums  

How to Copy and Rename a Database: same server

comp.databases.ms-sqlserver comp.databases.ms-sqlserver


Discuss How to Copy and Rename a Database: same server in the comp.databases.ms-sqlserver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
JJ_377@hotmail.com
 
Posts: n/a

Default How to Copy and Rename a Database: same server - 05-14-2005 , 05:46 AM






How does one make a copy of a database (with the data) on the same
server. Would like to do this to use the copy in a test environment. I
looked at the Copy Database Wizard but the instructions in Books Online
state that the database must be copied to another server and cannot be
renamed using this process.
Thank you.


Reply With Quote
  #2  
Old   
Simon Hayes
 
Posts: n/a

Default Re: How to Copy and Rename a Database: same server - 05-14-2005 , 06:33 AM







<JJ_377 (AT) hotmail (DOT) com> wrote

Quote:
How does one make a copy of a database (with the data) on the same
server. Would like to do this to use the copy in a test environment. I
looked at the Copy Database Wizard but the instructions in Books Online
state that the database must be copied to another server and cannot be
renamed using this process.
Thank you.

Backup and restore is usually the easiest option - see example E under
RESTORE in Books Online, and also this KB article:

http://support.microsoft.com/default...b;en-us;314546

Simon




Reply With Quote
  #3  
Old   
JJ_377@hotmail.com
 
Posts: n/a

Default Re: How to Copy and Rename a Database: same server - 05-14-2005 , 08:08 AM




thank you for the reference.


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.