hello Everyone,how to copy one database to another db in same machne..plz tell me?
:)
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Rajeesh MenothRank #118 · 18.4K reputationPosted Nov 17, 2015, 12:08 AM EST
Rajeesh MenothRank #118 · 18.4K reputationPosted Nov 17, 2015, 2:00 AM EST
There are several ways to do this, below are two options:
Option 1 - Right click on the database you want to copy
Choose 'Tasks' > 'Generate scripts'
'Select specific database objects'
Check 'Tables'
Mark 'Save to new query window'
Click 'Advanced'
Set 'Types of data to script' to 'Schema and data'
Next, Next
You can now run the generated query on the new database.
Option 2
Right click on the database you want to copy
'Tasks' > 'Export Data'
Next, Next
Choose the database to copy the tables to
Mark 'Copy data from one or more tables or views'
Choose the tables you want to copy
Finish
Sourabh SomaniRank #37 · 35.5K reputationPosted Nov 17, 2015, 4:35 AM EST
Jignesh TrivediRank #16 · 50.3K reputationPosted Nov 17, 2015, 5:48 PM EST
Raja TRank #685 · 3.5K reputationPosted Nov 17, 2015, 7:04 PM EST
Arvind ChourasiyaRank #1,658 · 926 reputationPosted Nov 17, 2015, 1:55 AM EST
Arvind ChourasiyaRank #1,658 · 926 reputationPosted Nov 17, 2015, 4:24 AM EST
Arvind ChourasiyaRank #1,658 · 926 reputationPosted Nov 17, 2015, 5:51 AM EST