rileypetty
Programmer
Hello, I need some advice on a MS SQL 2005 problem. Our customer had their POS application and database hosted by a vendor that informed them two months ago that they were no longer hosting and the customer would have host the application and the DB locally. We were contracted to make the conversion and did.
We built the new server, Win Server 2003, SQL 2005 and the POS application. The vendor remotely downloaded and installed the DB using the restore process. The customer needed to get productive immediately so we got everything working and it’s been going fine for the past two weeks. When I finally got around to running a DB integrity check it failed.
Check Catalog Msg 3853, State 1: Attribute (there were ten (10) errors all total)
Lots of researched indicate this error is related to a dependencies issue regarding a user table and the system database. This DB was once a SQL 2000 version and access to the system DB was allowed then but not in SQL 2005. Also, SQL 2005 DB integrity check is more sensitive and flags these types of errors where SQL 2000 did not. I think I’m right.
Based on a suggestion from a SQL forum, I loaded the DB on a test machine, did some record counts on the four tables involved and exported the four tables to a 2nd test DB (empty). Then went back to first DB and deleted the four tables. Then imported the four tables back to the first DB and ran record counts. Everything looked ok and then ran the DB integrity check again. No errors. Everything seems to be working fine in the test environment. I don’t have access to the application to do the real test but plan on that soon.
My question is, am I ok? Am I going in the right direction? Am I missing anything?
Thanks for any information you might be able to give me.
We built the new server, Win Server 2003, SQL 2005 and the POS application. The vendor remotely downloaded and installed the DB using the restore process. The customer needed to get productive immediately so we got everything working and it’s been going fine for the past two weeks. When I finally got around to running a DB integrity check it failed.
Check Catalog Msg 3853, State 1: Attribute (there were ten (10) errors all total)
Lots of researched indicate this error is related to a dependencies issue regarding a user table and the system database. This DB was once a SQL 2000 version and access to the system DB was allowed then but not in SQL 2005. Also, SQL 2005 DB integrity check is more sensitive and flags these types of errors where SQL 2000 did not. I think I’m right.
Based on a suggestion from a SQL forum, I loaded the DB on a test machine, did some record counts on the four tables involved and exported the four tables to a 2nd test DB (empty). Then went back to first DB and deleted the four tables. Then imported the four tables back to the first DB and ran record counts. Everything looked ok and then ran the DB integrity check again. No errors. Everything seems to be working fine in the test environment. I don’t have access to the application to do the real test but plan on that soon.
My question is, am I ok? Am I going in the right direction? Am I missing anything?
Thanks for any information you might be able to give me.