SQL SERVER:通过 ODBC 访问 SSMS 中的 Cosmos-Db

发布于 2025-01-16 18:39:24 字数 1200 浏览 5 评论 0 原文

我正在尝试遵循指南此处展示了如何通过 ODBC 将 azure cosmos-db 链接为链接服务器。我已经创建了 x64 和 x86 版本的远程 cosmos-db 的 ODBC 链接。从 ODBC 管理控制台中检查时,这些连接似乎没有问题,我什至可以在设置架构时看到数据,但是我无法创建工作链接服务器,因为在测试连接时出现以下错误..

“ [microsoft][ODBC Driver Manager] 未找到数据源名称且未指定默认驱动程序”

我相信这可能是因为我安装了 SQL Express 并且“Providers”文件夹中缺少“Providers”文件夹>链接服务器”文件夹。因此,我假设我没有在本地运行的 SQL Server 实例上安装必要的提供程序。

我尝试安装 OLE DB 驱动程序 ODBC 驱动程序,但是这些没有帮助。

输入图片此处描述

在此处输入图像描述

I'm attempting to follow the guide here which shows how to link an azure cosmos-db as a linked server via ODBC. I have created the ODBC links to the remote cosmos-db in both x64 and x86 flavours. These appear to connect without issue when checking from within the ODBC Admin console and I can even see the data when setting up a schema, however I am unable to create a working linked server as I get the following error when testing the connection ..

"[microsoft][ODBC Driver Manager] Data source name not found and no default driver specified"

I Believe this is maybe because I have SQL Express installed and the "Providers" folder is missing from the "Linked Server" folder. I am therefore assuming that I do not have the necessary providers installed on the SQL Server Instance running locally.

I have attempted to install both the OLE DB Driver and the ODBC Driver, however these have not helped.

enter image description here

enter image description here

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

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

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文