Solved

Could not find row in sysindexes for database ID 7, object ID 1, Run DBCC CHECKTABLE on sysindexes.

Posted on 2009-04-06
4
840 Views
Last Modified: 2012-05-06
Received this error when I tried to attach an accounting db (which was accidentally on the SQL 2000 server when it got upgraded to SQL 2008).

Could not find row in sysindexes for database ID 7, object ID 1, Run DBCC CHECKTABLE on sysindexes.

I setup a VM with Win2000 server (w/SP4) & SQL 2000 (w/ SP4) & have copied the db over to a folder local within it.

Can anyone tell me how to attach this db to SQL 2000?  We need to reference the information for an audit...

Help is greatly appreciated!!!
error602.jpg
0
Comment
Question by:rwsit
  • 3
4 Comments
 
LVL 41

Expert Comment

by:ralmada
ID: 24080806
0
 
LVL 41

Expert Comment

by:ralmada
ID: 24080860
0
 

Author Comment

by:rwsit
ID: 24080879
Thank you for the link - I had come across that prior to placing this question.  I followed the instructions in that post and am still hitting a wall.  

Is there no way to roll a db back from 2008 to 2000?
0
 
LVL 41

Accepted Solution

by:
ralmada earned 500 total points
ID: 24087763
>>Is there no way to roll a db back from 2008 to 2000?<<
I'm afraid not. What you can do though is recreate the database in SQL 2000:
1. Create new database in SQL 2000
2. Generate scripts from objects on the SQL 2008
3. Execute this scripts on the SQL 2000
This is considering that the SQL 2008 DB objects are all compatible with SQL 2000.
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

SQL Server engine let you use a Windows account or a SQL Server account to connect to a SQL Server instance. This can be configured immediatly during the SQL Server installation or after in the Server Authentication section in the Server properties …
Slowly Changing Dimension Transformation component in data task flow is very useful for us to manage and control how data changes in SSIS.
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function
Viewers will learn how the fundamental information of how to create a table.

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now