十字数据库插入Azure?

发布于 2025-02-03 17:08:22 字数 124 浏览 2 评论 0 原文

我有可能在Azure SQL中将某些数据从一个数据库插入另一个数据库吗?

假设我在DB1中有一个触发器,可以更新DB2中的某些值。

我阅读了有关弹性查询的信息,但似乎它们只是只读,因此他们无法解决我的问题。

Is it possible for me to insert some data from one database to another in Azure sql?

Let's say I have a trigger in db1 that updates some values in db2.

I read about elastic queries but it seems like they are read-only so they don't solve my problem.

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

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

发布评论

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

评论(2

和我恋爱吧 2025-02-10 17:08:22

您不能在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.

許願樹丅啲祈禱 2025-02-10 17:08:22

这里以前有一些关于做类似的讨论:

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

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