在生产SQL Server上安装更新 [英] Install updates on the production SQL server

查看:120
本文介绍了在生产SQL Server上安装更新的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果我在测试模式下使用Sql Server 2016并且我对数据库的设计进行了更改,那么当我想激活生产Sql server中的更改时,如何在不丢失数据的情况下执行此操作?



我不想再次一对一地进行更改,因为它不精确且需要很长时间。



我尝试过:



在al网站上,ites,ites

If I work on Sql Server 2016 in testing mode and I make changes to the design of the databases, when I want to activate the changes in the production Sql server, how do I do it without losing the data?

I do not want to make the changes one-on-one again, because it is imprecise and takes a long time.

What I have tried:

in al sites, ites, ites

, ites, ites

, ites, ites

推荐答案

您可以使用类似RedGate的SQL Compare或VIsual Studio具有数据库比较工具。两者都可以应用更新或删除您可以在方便的时候使用的脚本。
You can use something like SQL Compare from RedGate or VIsual Studio has database comparison tools. Both can apply the updates or drop a script that you can use at a convenient time.


这篇关于在生产SQL Server上安装更新的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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