Home > Uncategorized > SQL Database restore from 2000 to 2005

SQL Database restore from 2000 to 2005

During my current assignment , I was working on SQL Server database restore from an old SQL Server DB to SQL 2005 . Here are few things you need to consider .

First of all plan what  additionals Service Packs for new version you need based on SQL 2005 Version. Use the following statement to get curent version of your SQL Server.                                                                                                                                

SELECT  SERVERPROPERTY(‘productversion’), SERVERPROPERTY (‘productlevel’), SERVERPROPERTY (‘edition’)

  1. Consider Database  Collation in previous and new version.
  2. Create a Back up (.dmp file) from source database.
  3. Define the path of Database (.mdf file) and Log File ( .ldf) file under Database  Options (Properties) for database .
  4. Restore the back up using “Add device”  and select the .dmp File .
  5. Verify the data after restore .

As an alternative step you restore Database from Transact SQL also . But I personally prefer SQL Server Management Studio 🙂

Advertisements
Categories: Uncategorized
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: