SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 duplicate of the database
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

anjali5
Posting Yak Master

110 Posts

Posted - 07/11/2013 :  01:05:15  Show Profile  Reply with Quote
Hi All,

I want to make a, I want to make an exact replica of one database in sql server 2005 express edition so I have a database called dbTest
and I want to create a database called dbTest2 that is the exact replica of dbTest.

How can I achive this. I am using sql server 2005 express edition.


any help will be appreciated.



visakh16
Very Important crosS Applying yaK Herder

India
52309 Posts

Posted - 07/11/2013 :  01:07:44  Show Profile  Reply with Quote
easiest way is to take a backup of dbTest and then restore it as dbTest2 and you'll get db as on that point in time with all objects and data.

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/
https://www.facebook.com/VmBlogs
Go to Top of Page

anjali5
Posting Yak Master

110 Posts

Posted - 07/11/2013 :  01:09:36  Show Profile  Reply with Quote
I don't have backup of the database. Is their any other way.
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

India
52309 Posts

Posted - 07/11/2013 :  01:18:13  Show Profile  Reply with Quote
you can take backup now.

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/
https://www.facebook.com/VmBlogs
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.16 seconds. Powered By: Snitz Forums 2000