all groups > sql server connect > july 2007 >
You're in the

sql server connect

group:

Incorrect data in sysdatabases compatability level column


Incorrect data in sysdatabases compatability level column paul
7/16/2007 11:14:07 AM
sql server connect:
Hello,

I've noticed that if you have model and tempdb to different compatability
levels and restart the sql instance, the value in sysdatabases (cmptlevel)
does not get changed correctly.

Here's how to reproduce:

1. set model compatability to one level, say 9.0
2. set tempdb compatability to diff. level, say 8.0
3. verify in SSMS db -> properties -> options
or select * from master..sysdatabases
4. run an old join query from tempdb to show it is actually in 8.0
compatability
-> select * from sysobjects o, syscolumn c where o.id *= c.id
if it runs, the compatability is set to 8.0
5. now restart your db instance
6. repeat step 3 and 4, you should see that sysdatabases thinks tempdb is in
8.0 compatability, but you get an error message when running the query which
means the database is in 9.0

Can anyone explain? or is it possible this is a bug?

thanks


RE: Incorrect data in sysdatabases compatability level column paul
7/16/2007 11:18:05 AM
Please ignore this one, I resubmitted this same ticket the to SQL Server
category of threads.





[quoted text, click to view]
AddThis Social Bookmark Button