?
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
Medium Priority
?
847 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 2000 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

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

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

JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
What if you have to shut down the entire Citrix infrastructure for hardware maintenance, software upgrades or "the unknown"? I developed this plan for "the unknown" and hope that it helps you as well. This article explains how to properly shut down …
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
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
Suggested Courses

762 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