tags:

views:

67

answers:

2

I have mdf & ldf files from another machine and want to add these databases to my machine, how can I do that?......Thanks

When I try to attach the database I get the following error:

Error 602: could not find row in sysindexes for database id 7 object id 1. Run DBCC CHECKTABLE

+1  A: 

Second question - use sp_attach_db.

David M
+1  A: 

If you're trying to attach files created by a newer version of SQL Server, that may be your problem

Colin Pickard