Question : SQL Server Instance version & Database version

Currently we are facing issue with versions of databases in our company.
We have a SQL Server 2005 SP2 Enterprise Edition 64bit Instance. We restored a DB from older SQL 2000 32bit EE instance.

My question is: How to identify version of a databse? (if there is anything like that, I know how to check version of an instance by running command select @@version)

Also I have heard not sure though, If we detach a DB from SQL 2000 & attach it to SQL 2005 Instance. DB will still be SQL 200 running on SQL 2005 Server. How to check version of database in such a case?

Thanks
Josh

Answer : SQL Server Instance version & Database version

backup of database 2005 cannot be restored in sqlserver 2000. for restorin backup of 200 to 2005 you have to do it this way

create a new database in 2005 with the same name and compatibility set for SQL 2000 or the version you want to restore from.

restore this database with options 'overwrite existing database'

Random Solutions  
 
programming4us programming4us