• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 346
  • Last Modified:

sql 2000 to 2005

i have sql 2000 database

im thinking is it possible to restore sql 2000 database to sql 2005 standard edition
0
ammadeyy
Asked:
ammadeyy
  • 3
  • 3
  • 2
  • +2
4 Solutions
 
Guy Hengel [angelIII / a3]Billing EngineerCommented:
yes, this is possible if the sql server 2000 is also of standard edition or lower.
0
 
Aneesh RetnakaranDatabase AdministratorCommented:
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
 
ammadeyyAuthor Commented:
i am using sql 2000 standard edition
how can i change the compatibility level?
0
2018 Annual Membership Survey

Here at Experts Exchange, we strive to give members the best experience. Help us improve the site by taking this survey today! (Bonus: Be entered to win a great tech prize for participating!)

 
Guy Hengel [angelIII / a3]Billing EngineerCommented:
In the properties of the database you have the compatibity setting.
you can also do it with tsql if you want.
0
 
Aneesh RetnakaranDatabase AdministratorCommented:
using TSQl

sp_dbcmptlevel urDbname, 90
0
 
LowfatspreadCommented:
>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
 
ptjcbCommented:
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
 
ammadeyyAuthor Commented:
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
 
ammadeyyAuthor Commented:
i could not copy log file from sql 2000, it says file in use
how could i copy the file without stopping sql
0
 
Aneesh RetnakaranDatabase AdministratorCommented:
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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

  • 3
  • 3
  • 2
  • +2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now