获取存储过程的源代码控制 [英] Getting sourcecontrol on stored procedures

查看:35
本文介绍了获取存储过程的源代码控制的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

首先是技术性的东西:

我们使用 VS 2008 pro 并运行 MS SQL 2008 服务器.对于源代码控制,我们使用 Subversion.

We're using VS 2008 pro and running a MS SQL 2008 server. For sourcecontrol we use Subversion.

我们真的很想让我们的存储过程保持在 subversion 中,这样我们就可以知道发生了什么变化,什么时候发生的等等.

We'd really like to keep our stored procedures in subversion, so we can tell what was changed, when and so forth.

然而,为了使其工作,它必须是无缝的,否则开发人员只会忘记将过程包含在他们的提交中.

However in order for this to work, it has to be seamless, otherwise the developers are just going to forget getting the procedures included in their commits.

有什么好的解决办法吗?

So are there any good solutions for this ?

我确定我们不会是唯一有这个问题的公司 :-)

I'm certain we can't be the only company with this issue :-)

推荐答案

我目前正在使用 Red-Gate 提供的名为 SQL Source Control 的免费工具来执行此操作,并且效果很好,可以插入 SSMS.这是包含更多信息的链接 http://www.red-gate.com/products/SQL_Source_Control/index.htm 我不得不提一下,它目前处于测试阶段,但与 SVN 和 TFS 配合使用效果很好.

I'm currently using a free tool called SQL Source Control from Red-Gate to do this and it works great, it plugs into SSMS. Here is a link with more info http://www.red-gate.com/products/SQL_Source_Control/index.htm I have to mention this is currently in beta but works great with SVN and TFS.

这篇关于获取存储过程的源代码控制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆