reads past end of field for Text data type.

mat mat at annotate.net
Tue Jan 30 04:53:11 EST 2001


i'm building a python module on top of dblib to access a sql 7 box.  for
the most part it works great.

my only problem is with text fields. i'm trying to access large text
fields (30k+).  this works fine except that i get strange characters 
stuck to the end of some of text fields.  this happens when i select
multiple rows.  the extra characters appear to be from the row before the
one with extra characters.

i'm using the dblib function 'dbdata' and reading from the address
returned to the end of the string.  the end of the string does not appear
to be in the correct place.
Any help would be greatly appreciated.
Thanks
-mat



More information about the FreeTDS mailing list