sql 2000 to 2005

Posted on 2006-07-24
Last Modified: 2008-02-01
i have sql 2000 database

im thinking is it possible to restore sql 2000 database to sql 2005 standard edition
Question by:ammadeyy
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
  • 2
  • +2
LVL 143

Expert Comment

by:Guy Hengel [angelIII / a3]
ID: 17166312
yes, this is possible if the sql server 2000 is also of standard edition or lower.
LVL 75

Expert Comment

by:Aneesh Retnakaran
ID: 17166314
yeah, its possible to restore the db from sql server 2000 to sql server 2005.
But in order to avail the features of sql 2005, you must change the COMPATABLILITY LEVEL of the db to 90


Author Comment

ID: 17166328
i am using sql 2000 standard edition
how can i change the compatibility level?
MIM Survival Guide for Service Desk Managers

Major incidents can send mastered service desk processes into disorder. Systems and tools produce the data needed to resolve these incidents, but your challenge is getting that information to the right people fast. Check out the Survival Guide and begin bringing order to chaos.

LVL 143

Accepted Solution

Guy Hengel [angelIII / a3] earned 125 total points
ID: 17166346
In the properties of the database you have the compatibity setting.
you can also do it with tsql if you want.
LVL 75

Expert Comment

by:Aneesh Retnakaran
ID: 17166390
using TSQl

sp_dbcmptlevel urDbname, 90
LVL 50

Assisted Solution

Lowfatspread earned 125 total points
ID: 17166432
>im thinking is it possible to restore sql 2000 database to sql 2005 standard edition

yes of course its possible to restore a sql2k database in sql2k5

but you'll still need to review all your stored procedure and code to ensure that they continue to work correctly
especially before changing the compatability level.

LVL 27

Assisted Solution

ptjcb earned 125 total points
ID: 17167025
Yes, you can restore from 2000 to 2005, it is going back from 2005 to 2000 that will cause issues. I agree with lowfatspread - review the stored procs/functions to be sure that they work the same after they are restored and upgraded. You can also add the new Try...Catch error handling.

Author Comment

ID: 17187832
i could not resort sql 2000 database to sql 2005
its givin error message sql log file eg.123.ldf failed with operating system error 3 (cannot find the path)


Author Comment

ID: 17187857
i could not copy log file from sql 2000, it says file in use
how could i copy the file without stopping sql
LVL 75

Assisted Solution

by:Aneesh Retnakaran
Aneesh Retnakaran earned 125 total points
ID: 17189797
The two ways to copy the log files are '
1. Stop the Sql server service and copy
2. Right Click on the database and bring it off-line, then copy the log of that particular db , after copying put it back online

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
SCOM to SQL port 14xx failed? 1 32
SQL Server 2008 Std. License Key owner or vendor 4 56
UPDATE JOIN multiple tables 5 23
Delete old Sharepoint backups 2 22
Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
This article shows gives you an overview on SQL Server 2016 row level security. You will also get to know the usages of row-level-security and how it works
Via a live example, show how to set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question