Visual Studio 2012 - Database Publishing Wizard Discontinued?

后端 未结 2 1662
有刺的猬
有刺的猬 2021-02-11 02:42

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

相关标签:
2条回答
  • 2021-02-11 02:57

    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/

    0 讨论(0)
  • 2021-02-11 03:17

    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
    0 讨论(0)
提交回复
热议问题