I just restored a database (.bak file) using SQL Server 2005. The database
now shows up but has "(6.5 Compatible)" next to it and no "+" next to it to
expand the tree, see tables, etc.
Any idea how I make this database accessible? I can do what I want with
it.. if I need to run an upgrade wizard or something, please let me know.
Thanks,
RonCheck out sp_dbcmptlevel in the BOL.
Tom
----
Thomas A. Moreau, BSc, PhD, MCSE, MCDBA
SQL Server MVP
Columnist, SQL Server Professional
Toronto, ON Canada
www.pinpub.com
.
"Ronald S. Cook" <rcook@.westinis.com> wrote in message
news:OHYUBqKPGHA.2888@.tk2msftngp13.phx.gbl...
I just restored a database (.bak file) using SQL Server 2005. The database
now shows up but has "(6.5 Compatible)" next to it and no "+" next to it to
expand the tree, see tables, etc.
Any idea how I make this database accessible? I can do what I want with
it.. if I need to run an upgrade wizard or something, please let me know.
Thanks,
Ron|||Ronald S. Cook (rcook@.westinis.com) writes:
> I just restored a database (.bak file) using SQL Server 2005. The
> database now shows up but has "(6.5 Compatible)" next to it and no "+"
> next to it to expand the tree, see tables, etc.
> Any idea how I make this database accessible? I can do what I want with
> it.. if I need to run an upgrade wizard or something, please let me know.
All it means is that the database is in compatibility-level mode 65. You
can still access it from the Query Editor and run queries against it. But
apparently you cannot connect to it from Object Browser.
To be able to do that, you can run:
EXEC sp_dbcmptlevel yourdb, 90
90 where means SQL 2005. You can also use 80 for SQL 2000 or 70 for
SQL 7. The one catch there is with chaning the compatinility level, is
that there may be stored procedures or triggers in the database that
relies on SQL 6.5 behaviour.
HAd the database actually been a 6.5 database, you would have been able to
restore the database at all.
Erland Sommarskog, SQL Server MVP, esquel@.sommarskog.se
Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/pr...oads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodin...ions/books.mspx
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment