简体   繁体   中英

Visual Studio 2012 - Database Publishing Wizard Discontinued?

I'm using VS 2012 and SQL Server 2008 and have just noticed that the "Publish to Provider" option is missing in Server Explorer. According to this, Database Publishing Wizard has been discontinued?

http://forums.asp.net/post/5122271.aspx

How can I publish my database to my server now? Is generating scripts the only option instead of doing this from within the VS IDE and if so, can someone provide the steps to generate the DB with stored procedures included?

UPDATE:

You can deploy/update database schema from Visual Studio:

  1. VS2012: View -> SQL Server Object Explorer panel
  2. right click on your database -> Schema Compare...
  3. choose remote database as a target

Solution was to use SSMS in SQL Server 2008. Right-click database node in Object Explorer. Select Tasks -> Generate Scripts, and complete the wizard with the desired options. Not very satisfactory for a quick and simple deployment from within VS...

Some tutorials:

http://www.sqlchick.com/entries/2011/3/12/scripting-out-data-in-sql-server-2008-r2.html

http://www.mssqltips.com/sqlservertip/2500/sql-server-2008-r2-generate-scripts-wizard-with-database-schema-and-data/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM