freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: "David Eastman" <deastman AT email.com>
- To: freetds AT lists.ibiblio.org
- Subject: [freetds] TEXT/NTEXT header format question
- Date: Tue, 03 Feb 2004 16:37:40 -0500
Ive got a question Im hoping someone here can help me with Im
trying to parse TDS packets, and Im having problems with TEXT/NTEXT
columns. From the TDS source Ive determined that bytes 25-28 of the
column header are the length of the data, starting at byte 29.
However, in certain queries, Im finding that this length is off by a
few bytes, which of course not only corrupts my column data, but
means that Im not picking up the next column correctly. I dont see
anything in the TDS source to deal with this, and Ive confirmed from
some network captures that it is simply a case of the length bytes
mentioned above not matching the actual text length, so obviously
there must be some kind of offset or other information Im missing.
Does anyone have a clue? Is there a more up-to-date version of the
protocol document that describes the column header for text columns?
--
___________________________________________________________
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm
-
[freetds] TEXT/NTEXT header format question,
David Eastman, 02/03/2004
- <Possible follow-up(s)>
- RE: [freetds] TEXT/NTEXT header format question, Thompson, Bill D (London), 02/04/2004
- [freetds] TEXT/NTEXT header format question, David Eastman, 02/04/2004
- RE: [freetds] TEXT/NTEXT header format question, Thompson, Bill D (London), 02/05/2004
Archive powered by MHonArc 2.6.24.