how can transfer data from one database to another database
SELECT * INTO dbo.DB1.TempTable FROM dbo.DB2.TempTable how can set dbo.DB2 user id & Password to access data
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Khargesh RajputPosted Apr 4, 2015, 7:00 AM
as in below image
Next
Next
if you want all tables data
Next
Click on advance
And choose Data only if you have already created tables otherwise choose scheme and data
below image
check path to save srcipt then ok and next
succes messge
finish
Now check in path where you saved srcipt file and now double click on script
now script will open in sql and execute your query by select your another database
Another way is
If you want copy off your whole database in new db
then you can just create a BAK file of your database and Restore on new database
Mohan Kate-PatilPosted Apr 4, 2015, 7:00 AM
There are many ways are available to transfer data from one database to other Database.
1. But depends on which database you used.
2. You are try in Database directly or Use it in application Code Behind file.
Please Mention your details more brief solution for you
Najim MullaPosted Apr 4, 2015, 6:50 AM
Khargesh RajputPosted Apr 4, 2015, 6:19 AM
Afzaal Ahmad ZeeshanPosted Apr 4, 2015, 5:30 AM
Writing your own code would not be a good idea. It would also take a lot of time, and might cause other errors and data loss.