Solved

sql 2000 to 2005

Posted on 2006-07-24
12
319 Views
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
0
Comment
Question by:ammadeyy
  • 3
  • 3
  • 2
  • +2
12 Comments
 
LVL 142

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.
0
 
LVL 75

Expert Comment

by:Aneesh Retnakaran
ID: 17166314
ammadeyy,
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

0
 

Author Comment

by:ammadeyy
ID: 17166328
i am using sql 2000 standard edition
how can i change the compatibility level?
0
 
LVL 142

Accepted Solution

by:
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.
0
 
LVL 75

Expert Comment

by:Aneesh Retnakaran
ID: 17166390
using TSQl

sp_dbcmptlevel urDbname, 90
0
VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

 
LVL 50

Assisted Solution

by:Lowfatspread
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.

0
 
LVL 27

Assisted Solution

by:ptjcb
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.
0
 

Author Comment

by:ammadeyy
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)

0
 

Author Comment

by:ammadeyy
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
0
 
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
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Having an SQL database can be a big investment for a small company. Hardware, setup and of course, the price of software all add up to a big bill that some companies may not be able to absorb.  Luckily, there is a free version SQL Express, but does …
This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.
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.

867 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

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now