sql-server - 如何在UBUNTU上安装SQL Server Native Client 11.0?

标签 sql-server ubuntu-16.04

有没有关于如何在 Ubuntu 上安装 SQL Server Native Client 的教程。因为在下图中我想配置 DSN。

/etc/odbc.ini

[login]
// Driver = SQL Server Native Client // the driver is not working
// but when I used the 
Driver = ODBC Driver 13 for SQL Server // is now working
Server = myhost.com 
Database = MYDATABASE_DBF

enter image description here

最佳答案

连接到 SQL Server 的方法有多种。 native 客户端就是其中之一。但微软不建议将其用于新的开发工作。在您的情况下,您可能需要用于 SQL Server 的 Microsoft ODBC 驱动程序。请参阅the link @HongOoi 提供了有关这方面的更多信息。

This link包含 Microsoft 对其支持的各种连接选项的概述。它包括对 native 客户端的以下评论:

The SQL Server Native Client OLE DB provider was included in SQL Server Native Client in SQL Server 2005, SQL Server 2008, SQL Server 2008 R2, and SQL Server 2012. After SQL Server 2012, the SQL Server Native Client OLE DB provider will no longer be included in SQL Server Native Client.

After SQL Server 2012, the ODBC driver will be updated for the most recent server features, including Microsoft Windows Azure SQL Database, and released as the Microsoft ODBC Driver for SQL Server.

关于sql-server - 如何在UBUNTU上安装SQL Server Native Client 11.0?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40842719/

相关文章:

go - k8s oidc 问题与帮助程序包 (k8s-oidc-helper : command not found)

sql - 在 SQL 用户定义函数中使用公用表表达式时出错

sql - 计算两点之间的距离(纬度,经度)

shell - 有没有办法在 linux 的 conf 文件中将文本添加到字符串的末尾?

linux - 如何使用 linux 帧缓冲区旋转 Qt5 应用程序?

azure - REDIS Slave无法连接Master

sql-server - 存储过程中返回值 0 总是成功吗?

sql - 带有 like 子句的 Unicode 谓词 ( N'%ש֩%' ) 返回所有行

sql - 使用 SQL 查询生成多个数据

r - 在 ubuntu 16.04 上安装 R 最新版本