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
846 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article we will get to know that how can we recover deleted data if it happens accidently. We really can recover deleted rows if we know the time when data is deleted by using the transaction log.
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
Via a live example, show how to set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.

717 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