简体   繁体   English

在Visual Studio中创建数据库项目后,如果编辑存储过程或视图,如何将更改应用到服务器?

[英]Once I have a database project in Visual Studio, if I edit a stored procedure or view, how do I apply the changes to the server?

在Visual Studio中创建数据库项目后,如果编辑存储过程或视图,如何将更改应用到服务器?

Solution Explorer ... Right Click Project ... Open properties .. Build tab ... Set target db to your server. Solution Explorer ...右键单击Project ...打开属性.. Build选项卡...将目标db设置为您的服务器。

Then back to Solution Explorer ... Right click ... Rebuild ... then when done Right click and Deploy. 然后返回解决方案资源管理器...右键单击...重建...然后完成后右键单击并部署。

Job done :) 任务完成 :)

Kindness, 善良,

Dan

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何让我的存储过程在我的 Visual Studio 项目中运行? - How do I get my stored procedure to work inside my Visual Studio project? 在Visual Studio 2010中进行更改后,如何打开sql server 2005数据库? - How can I open sql server 2005 database after i do changes with visual studio 2010? 我是否必须在 Visual Studio 中连接 SQL 服务器数据库才能在 C# 项目中使用它? - Do I have to connect a SQL Server database in Visual Studio to use it in C# project? 我可以在Visual Studio数据库项目存储过程中使用SQLCMD命令吗? - Can I use SQLCMD Commands in Visual Studio Database Project Stored Procedure? SQL 数据库项目中的服务器存储过程错误 [Visual Studio] - SQL Server Stored Procedure Error in Database Project [Visual Studio] 如何编辑存储过程? - How can I edit a stored procedure? 如何为数据库中的每个视图创建调用sp_refreshview的存储过程? - How do I create a stored procedure that calls sp_refreshview for each view in the database? 没有Management Studio的情况下如何在MSSQL中创建存储过程? - How do I create Stored Procedure in MSSQL without Management Studio? 如何查看无法在SQL Server 2008 R2中修改的存储过程的定义? - How do I view the definition for a stored procedure that cannot be modified in SQL Server 2008 R2? 如何创建 model 并基于返回 pivot 表的 SQL 服务器存储过程查看? - How do I create a model and view based on a SQL Server stored procedure that returns a pivot table?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM