A SQL 2000 db was detached, SQL 2000 was uninstalled. Then SQL 2005 installed in the same machine. Then the database was attached to the newly installed SQL 2005 server. It seemed to work at first but after the users started to poke around, error related to null started to pop. Null values from datetime columns that DID NOT have nulls, and things like that. The db has a compatibility level to 2000 (8.0). What could be happening.
Sql – Attached SQL 2000 DB in a SQL 2005 Server, Now getting VB6 App throwing errors
nullsql-server-2005vb6
Best Answer
Have you you run
DBCC UPDATEUSAGE
?Have you rebuilt all indexes?
Note: be careful if this is in production, as it might take a while. Perhaps talk to your DBA.