title: How to convert .sql file into .mdf file?
body: <p>I have a <code>.sql</code> file. How can I convert this <code>.sql</code> file to a <code>.mdf</code> SQL Server database file?</p>
  
  <p>I know that <code>.sql</code> file is nothing but a script file if I open the <code>.sql</code> file in notepad it will show me the db code I can simply copy those code and paste into SQL Server Management Studio.</p>
  
  <p>Is there any other way to convert <code>.sql</code> to <code>.mdf</code> file?</p>