title: Is there a way to import SQL script into MDF database in Visual Studio?
body: <p>I created a "Service-Based Database" (.MDF) in Visual Studio and now want to import a SQL script into it, but cannot find any way to do this:</p>
  
  <ul>
  <li>I can right-click on the .mdf file and choose "New Query" but there is no place to copy in query text as in Management Studio</li>
  </ul>
  
  <p>Does the Visual Studio 2008 Database Explorer have a way to enter or import SQL query text?</p>