TDS协议 - 解析ColMetaData令牌问题 [英] TDS Protocol - parsing of ColMetaData token issue

查看:66
本文介绍了TDS协议 - 解析ColMetaData令牌问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好。

重要的是要知道:我正在使用2017年6月的最后一个ms-tds pdf文档。 

Important to know: i am using the last ms-tds pdf documentation from june 2017. 

我正在连接到SQL Server 2016。

I am connecting to SQL server 2016.

我尝试从ColMetaData令牌开始理解/解析结果集。

I try to understand/parse result sets, starting from ColMetaData token.

我有以下TDS包:

查看此数据包时,我有一个0x81字节(colmetadata),然后列数为01 00的两个字节长度。

when looking at this packet, i have an 0x81 byte (colmetadata), then two bytes length for column count 01 00.

然后,我有四个字节的用户类型(00 00 00 00) 

then, i have four bytes of user type (00 00 00 00) 

然后我应该有2个字节的标志(16位)然后,类型信息。

theni i should have 2 bytes of flag (16 bits) then, typeinfo.

然而,我可以在这里看到4个字节的标志(00 00 21 00)然后输入信息( e7)。

however, i can see here 4 bytes of flag (00 00 21 00) then type info (e7).

即使是Microsoft网络监视器也无法解析此响应。

Even the Microsoft Network Monitor is unable to parse this response.

我会想知道文档中是否有任何错误,如果是,那么正确的行为应该是什么?

I would like to know if there is any error in the documentation, and if so, what should be the right behaviour ?

问候

推荐答案

Hello Yoyo le magnifique,

感谢您对SQL Server协议的查询。我们创建了一个调查此问题的事件。其中一位公开规格的团队成员将尽快与您联系。

 

 

问候,

Sreekanth Nadendla

Microsoft Windows Open规范
Hello Yoyo le magnifique,
Thank you for your inquiry about SQL Server protocols. We have created an incident for investigating this issue. One of the Open specifications team member will contact you shortly.
 
 
Regards,
Sreekanth Nadendla
Microsoft Windows Open specifications


这篇关于TDS协议 - 解析ColMetaData令牌问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆