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
843 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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Attaching Database Failed ? 3 37
Sql server insert 13 26
sql server insert 12 28
Help creating a spatial object in SQL Server 4 20
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.
This article shows gives you an overview on SQL Server 2016 row level security. You will also get to know the usages of row-level-security and how it works
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.
Viewers will learn how the fundamental information of how to create a table.

815 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

9 Experts available now in Live!

Get 1:1 Help Now