Monday, March 19, 2012

Move SQL Server Express .mdf file to SQL Server 2000

Is this even possible? I tried to move an existing Sql Server Express .mdf file to SQL Server 2000 by copying the .mdf file to the server's folder and then tried to attach it. I get:

Error 602: Could not find row in sysindexes for database ID 9, object ID 1, index ID1. Run DBCC CHECKTABLE on sysindexes.

I realize that I'm moving back a version in SQL, however the structure of the database is very simple. Does anyone know?

Even if I can just script the thing to SQL 2000 would be helpful, however the .mdf is a file within my ASP.Net site, and does not show up in my Microsoft SQL Server Management Studio Express under the appropriate SERVERNAME\SQLEXPRESS either, so I can't figure out how to script it out?

I found this in another post that allowed me to script out the data and the database itself

Microsoft SQL Server Database Publishing Wizard 1.0

http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=29B4FFD8-AC3A-4481-B352-9B185619A901

No comments:

Post a Comment