十字数据库插入Azure?
我有可能在Azure SQL中将某些数据从一个数据库插入另一个数据库吗?
假设我在DB1中有一个触发器,可以更新DB2中的某些值。
我阅读了有关弹性查询的信息,但似乎它们只是只读,因此他们无法解决我的问题。
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
我有可能在Azure SQL中将某些数据从一个数据库插入另一个数据库吗?
假设我在DB1中有一个触发器,可以更新DB2中的某些值。
我阅读了有关弹性查询的信息,但似乎它们只是只读,因此他们无法解决我的问题。
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(2)
您不能在Azure SQL Server中使用跨数据库,因为数据库无法彼此看到彼此,您可以使用弹性池,但仅读取它们。
一种解决方案是使用SQL托管实例上传您的实例。这支持跨数据库查询,但价格昂贵。
You can't use cross-database in Azure Sql Server because databases can't see eachother physically , you could use elastic pools but they are Read Only.
A solution is to use SQL Managed Instance to upload your instance . This supports cross-database queries but it was expensive.
这里以前有一些关于做类似的讨论:
c#azure函数触发器当SQL数据库具有不进行轮询的新行时
也有Azure sql bindings的新行,但它们仍然是输入绑定,而不是触发器,并且它们仍在预览并限制为C#,JavaScript和Python。
azure azure函数概述(预览)的Azure SQL绑定
上周MS Build上周有一个新公告't将其称为Asderei),但这目前是在早期采用计划(EAP)下的预览中。
宣布“ Azure SQL数据库外部休息端点集成”早期采用程序
There was some previous discussion here about doing similar:
C# Azure Function trigger when SQL Database has a new row added without polling
There is also the Azure SQL Bindings for Azure Functions but they are input bindings and not triggers and they're still in preview and limited to C#, JavaScript and Python.
Azure SQL bindings for Azure Functions overview (preview)
There was a new announcement last week after MS Build however for
Azure SQL Database External REST Endpoints Integration
(hopefully they don't refer to it as ASDEREI) but this is currently in preview under Early Adoption Program (EAP).Announcing the “Azure SQL Database External REST Endpoints Integration” Early Adoption Program