title: How to import a SQL file into SQL Server 2008 using Visual Studio 2010?
body: <p>What I tried so far is to go to server explorer:</p>
  
  <ul>
  <li>connect to a database </li>
  <li>choose server name </li>
  </ul>
  
  <p>and tried to attach a database file but it asks for an <code>.mdf</code> file and I don't know what is this and how to create it. My database is a <code>.sql</code> file</p>