且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

对我的 SQL Server 存储过程进行版本控制的***方法是什么?

更新时间:2023-02-09 15:33:22

与您的其他代码相同,将数据库项目"添加到您的应用程序解决方案中,并将用于构建数据库对象的 sql 文件保留在其中.对这些代码文件使用与应用程序相同的版本控制.

Same as your other code, add a "Database project" to your application solution and keep the sql files used to build the database objects in there. Use the same version control for those code files as you do for the application.