Click here to Skip to main content
16,019,618 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hello! I have taken a backup of sql database(.bak) of 2005 and now I want to use that database on another PC with SQL Server 2008. How can I do this.

Thanks in advance!
Posted
Updated 27-Apr-11 5:45am
v2
Comments
Manfred Rudolf Bihy 27-Apr-11 11:46am    
Edit: Retagged, title adjustments plus minor splling edits.

Right click on the database ==> tasks ==>restore database => from device

pick the backup file by clicking on the button on the right,


fill the "to database" field to be the name of the database


Click OK


After restore is complete. Right click on the database ==> properties ==> compatibility level

set it to 2005 if needed.
 
Share this answer
 
Just copy the .bak file to the new server and restore the backup. There are several ways to do this so read the BOL Restore (Transact-SQL)[^] for a start
 
Share this answer
 

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