简体   繁体   English

Azure SQL 即服务将服务链接到本地​​ SQL Server

[英]Azure SQL as a service linked services to an on-premise SQL Server

It would appear that there is no way to make use of linked serveries when running SQL as a services and then try and connect to a on premises SQL server.在将 SQL 作为服务运行时,似乎无法使用链接服务器,然后尝试连接到本地 SQL 服务器。 There is only a way to make use of linked services if both db's are in the cloud.如果两个数据库都在云中,则只有一种方法可以使用链接服务。 Is there a work around other than moving on prem db to Azure and making use of data-factory除了将 prem db 转移到 Azure 并利用数据工厂之外,还有其他解决方法吗?

Arthur亚瑟

If your goal is to connect on-prem SQL with an IaaS SQL, you need to install Data Management Gateway.如果您的目标是将本地 SQL 与 IaaS SQL 连接,则需要安装数据管理网关。 For both on-prem and IaaS SQL, use OnPremisesSqlServer as the linked service type, then you can specify gatewayName.对于本地和 IaaS SQL,使用 OnPremisesSqlServer 作为链接服务类型,然后您可以指定 gatewayName。 Refer to the document at https://docs.microsoft.com/en-us/azure/data-factory/data-factory-sqlserver-connector请参阅https://docs.microsoft.com/en-us/azure/data-factory/data-factory-sqlserver-connector上的文档

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何通过 Azure 中的自托管集成运行时(链接服务)连接到本地 sql 服务器? - How to connect to on-premise sql server through self-hosted Integrated runtime(linked service) in Azure? 迁移on-prem SQL服务器数据库到Azure SQL数据库 - Migrate on-prem SQL Server database to Azure SQL database 使用本地SQL Server中的OpenRowSet连接到SQL Azure DB - Connect to SQL Azure DB using OpenRowSet from on-premise SQL Server 如何通过从 SQL 服务器(本地)到 Azure SQL 数据库的查询/脚本设置定期迁移 - How to set up recurring migration through queries/script from SQL server(On-premise) to Azure SQL database 数据从SQL内部部署迁移到SQL Azure - Data movement from SQL on-premise to SQL Azure 无法打开备份设备 - SQL Server 本地备份数据库到 Azure 存储 - Cannot open backup device - SQL Server on-premise backup database to Azure storage 将Blob数据复制到本地sql表中 - copy blob data into on-premise sql table 如何预先在SQL中为CRM 2011内部部署筛选报表 - How to pre filter reports in SQL for CRM 2011 on-premise 使用CRM本地数据的带子查询和连接变量的SQL查询 - SQL query with subquery and concatenating variable using CRM on-premise data 无法使用链接服务器连接到SQL Azure - Cannot connect to SQL Azure using a Linked Server
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM