SQL Server:将开发推向生产?

发布于 2024-09-28 14:42:34 字数 134 浏览 0 评论 0原文

我目前正在使用 SQL Server Management Studio。

我有一个开发数据库,​​可以访问实时数据库。

我只想能够将我的开发表迁移到实时服务器。

我首先咨询堆栈流,因为我不想破坏任何东西。

I'm currently using SQL Server Management Studio.

I have a development database, and access to a live database.

I just want to able to migrate my development tables to the live server.

I'm consulting stack flow first, since I don't want to blow anything up.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

陌路终见情 2024-10-05 14:42:34

如果您知道要迁移哪些表,并且它们在产品服务器上尚不存在,则只需编写表定义脚本,然后在服务器上运行该脚本即可。如果比这更复杂,我会推荐任意数量的工具来比较数据库模式并自动生成可以在目标服务器上运行的脚本以添加/更改/删除您需要的内容。 DBComparer 是一款适合简单工作的优秀免费软件。这是非常基本的。一个优秀的商业工具是 Red Gate 的 Sql Tools

If you know what tables you want to migrate and they don't yet exist on the prod server, it's as simple as scripting the table definition, then running the script on the server. If it's more complex than that, I would recommend any number of tools which compare database schemas and automatically generate scripts you can run on the destination server to add/alter/remove what you need. A good freeware one for simple jobs is DBComparer. It's pretty basic. An excellent commercial one are the Sql Tools by Red Gate

那请放手 2024-10-05 14:42:34

为此,我们使用 SQL Examiner Suite,但还有很多类似的工具。

We are using SQL Examiner Suite for this, but there are a lot of similar tools.

我的黑色迷你裙 2024-10-05 14:42:34

这值得一看 - 我以前用过它,它运行良好并且非常简单:Microsoft SQL Server 数据库发布向导 http://www.microsoft.com/downloads/en/details.aspx?FamilyId=56E5B1C5-BF17-42E0-A410 -371A838E570A&displaylang=en

This is worth a look at - I've used it before and it works well and is very easy: Microsoft SQL Server Database Publishing Wizard http://www.microsoft.com/downloads/en/details.aspx?FamilyId=56E5B1C5-BF17-42E0-A410-371A838E570A&displaylang=en

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文