title: How do I convert a SQL Server 2008 .mdf file to SQL Server 2012?
body: <p>I need to convert a file <code>DATABASE.MDF</code> from SQL Server 2008 to SQL Server 2012?</p>
  
  <blockquote>
    <p>Database 'Sales' cannot be upgraded because its non-release version (539) is not supported by this version of SQL Server. You cannot open a database that is incompatible with this version of sqlservr.exe. You must re-create the database.<br>
    Could not open new database 'Sales'. CREATE DATABASE is aborted. (Microsoft SQL Server, Error: 950)</p>
  </blockquote>