Is there a way to import SQL script into MDF database in Visual Studio?

Posted by Edward Tanguay on Stack Overflow See other posts from Stack Overflow or by Edward Tanguay
Published on 2009-03-02T16:25:39Z Indexed on 2010/05/18 21:30 UTC
Read the original article Hit count: 305

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:

  • 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

Does the Visual Studio 2008 Database Explorer have a way to enter or import SQL query text?

© Stack Overflow or respective owner

Related posts about sql

Related posts about visual-studio