Solved

sql 2000 to 2005

Posted on 2006-07-24
12
321 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
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 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
 
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

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

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

Suggested Solutions

Introduction SQL Server Integration Services can read XML files, that’s known by every BI developer.  (If you didn’t, don’t worry, I’m aiming this article at newcomers as well.) But how far can you go?  When does the XML Source component become …
The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties
Via a live example, show how to shrink a transaction log file down to a reasonable size.

778 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