Click here to Skip to main content
15,889,909 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Can anyone help me how to create database with the same data(existing in some database),While i am trying to create Database it shows error "same data will be in some database"
eg: Existing database is KK
New database is KKA
Posted
Comments
joginder-banger 20-Dec-13 13:39pm    
means you can try backup restore in database.
Jörgen Andersson 20-Dec-13 15:44pm    
You should have stated what database you're using.

If you want a copy of the DB the simplest solution is to backup the first DB and then restore the just created backup under a different name.

For SQL Server:
Can all be done from the Object Browser in SQL Server Management Studio.

Can also be done from T-SQL. See:

Restore:
http://technet.microsoft.com/en-us/library/ms190447%28v=sql.105%29.aspx

Backup:
http://technet.microsoft.com/en-us/library/ms191304%28v=sql.105%29.aspx

Other DB engines will have similar facilities.
 
Share this answer
 
v4
Check this out:

Copy SQL Database Wizard


You can select your database version from the top link of the page.
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900