简体   繁体   English

使用socket编程连接SqlServer

[英]Connect to SqlServer with socket programming

I'm wondering if there is a direct way of connecting to SQL Server.我想知道是否有直接连接到 SQL 服务器的方法。 In other words, How ADO.NET is connecting to SQL Server?换句话说,ADO.NET 如何连接到 SQL 服务器?

For academic exercise kind of work the TDS protocol is described at Tabular Data Stream Protocol Specification and there is a free implementation at FreeTDS .对于学术练习类型的工作,TDS 协议在表格数据 Stream 协议规范中进行了描述,并且FreeTDS提供了免费实现。 Do you have any real motive to re-invent the wheel?你有任何重新发明轮子的真正动机吗?

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM