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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SQL Select Query help 1 38
the way to learn Microsoft BI 13 50
MS SQL Server Management Studio R2 4 32
sql server major issue  need help 2 46
In this article I will describe the Detach & Attach method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed
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.

733 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