Sql – How to open .mdf and .ldf files

sqlsql-server-2005sql-server-2008

How to open .mdf and .ldf files ?

These files were created using SQL 2005. I just installed SQL 2008.

I am unable to open this file. What am I am missing here ?

Best Answer

You should be able to just attached the mdf file using SQL Server Mgmt Studio. See this link http://www.packtpub.com/article/moving-a-database-from-sql-server-2005-to-sql-server-2008-in-three-steps