来自红宝石的商业访问 [英] commercial access from ruby
问题描述
我正在编写一个需要在mssql上运行查询的ruby程序。
我看到了ruby的文档: https://docs.microsoft.com/en-us/sql/connect/ruby/ruby-driver-for-sql-server?view=sql-server-2017
我的软件将分发给我的客户,推荐的解决方案使用freeTDS,这是LGPL许可的。
有谁知道我可以使用mssql的提交驱动程序(windows和linux)?
有没有办法购买freeTDS?
对商业分布式软件的mssql驱动程序有什么建议?
谢谢,
Aviram
Hi,
I am writing a ruby program which needs to run queries on mssql.
I saw the documentation for ruby: https://docs.microsoft.com/en-us/sql/connect/ruby/ruby-driver-for-sql-server?view=sql-server-2017
My software is going to be distributed to my customers, the solution that is recommended uses freeTDS which is LGPL licensed.
Does anyone know of a committal driver to mssql I can use (windows and linux)?
Is there a way to buy freeTDS ?
What is the recommendation for mssql driver for commercial distributed software ?
Thanks,
Aviram
推荐答案
嗨aviramradai,
Hi aviramradai,
感谢您的发布。
首先,您的客户端程序可以使用许多连接模块或驱动程序与Microsoft SQL Server进行交互,并在云端Azure SQL数据库中使用它的双胞胎。通常,使用
JDBC, ODBC,OLE DB等。
Microsoft SQL数据库的连接模块
Firstly, there are many connection modules or drivers that your client programs can use for interacting with Microsoft SQL Server, and with its twin in the cloud Azure SQL Database. Usually , use JDBC, ODBC, OLE DB and so on. Connection modules for Microsoft SQL databases
其次,TDS是MSSQL Server使用的通信协议.FreeTDS是一个免费的库,可以通过这个协议进行通信。所以你不需要购买它,请从
FreeTDS软件。在linux中,请使用
中的命令这篇文章
直接使用FreeTDS。
Second, TDS is the communication protocol that MSSQL Server uses. FreeTDS is a free library to communicate over this protocol. So you need not to buy it, and please get it from FreeTDS-software. In linux, please use commands in this article to use FreeTDS directly.
第三,您可以根据实际环境使用驱动程序。有关详细信息,请参阅
客户端编程到Microsoft SQL Server的主页。
Thirdly, you can use drivers based on your actual environment. For more information, please refer to Homepage for client programming to Microsoft SQL Server.
希望它可以帮到你。
最好的问候,
Rachel
这篇关于来自红宝石的商业访问的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!