title: How to extract sql dump from mdf file which is attached to SQL Server management studio?
body: <p>I really need to extract full sql dump with tables recreate and all data inserts from my mdf file. Any help on this will be highly apreciated. </p>
  
  <p>I already tried to download mssql publishing wizard but I have no idea where to find it and how to use it.</p>