是否可以从其他数据库更新一个数据库 [英] Is it possible update one database from other database

查看:63
本文介绍了是否可以从其他数据库更新一个数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有两个数据库一个不同的服务器实时具有相同的名称和表格。



我想如果我在一个数据库中插入一些数据,它也会插入到另一个数据库中在其他服务器上运行。



有可能吗?



请帮助我谢谢



我尝试了什么:



I have two database one different server live with same name and tables.

I want if i insert some data in one database it also insert on another database that run on other server.

Is it possible?

Kindly Help me Thanks

What I have tried:

I read SQL Server Trigger. Is Trigger do work that i want or any other process for work this .

推荐答案

您正在寻找的是数据主题同步并且有很多方法可以解决它。

本文讨论其中的一些 Microsoft SQL Server中的数据同步指南 [ ^ ]



复制是另一个使用的关键短语 - 这里是MSDN文档 SQL Server Replication | Microsoft Docs [ ^ ]



以下是有关此主题的一些CodeProject文章:

< a href =https://www.codeproject.com/Articles/715550/SQL-Server-Replication-Step-by-Step> SQL Server Replication Step by Step [ ^ ]

< a href =https://www.codeproject.com/Articles/215093/Replication-in-MS-SQL-Server> MS SQL Server中的复制 [ ^ ]

SQL Express中的数据同步 [ ^ ]



既然你有关键短语可供使用,你应该找到更容易搜索更多资源
What you are looking for is the topic of "Data Synchronization" and there are many ways to go about it.
This article discusses some of them Guide to Data Synchronization in Microsoft SQL Server[^]

"Replication" is the other key phrase that is used - here is the MSDN documentation SQL Server Replication | Microsoft Docs[^]

Here are some CodeProject articles on the topic:
SQL Server Replication Step by Step[^]
Replication in MS SQL Server[^]
Data Synchronization in SQL Express[^]

Now that you have the key phrases to use you should find it easier to search for more resources


这篇关于是否可以从其他数据库更新一个数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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