develooper Front page | perl.dbi.users | Postings from February 2001

Re: Unwanted nulls at the end of retrieved char fields

Thread Previous
From:
Michael Peppler
Date:
February 20, 2001 14:19
Subject:
Re: Unwanted nulls at the end of retrieved char fields
Message ID:
14994.60766.842040.707530@troll.peppler.org
Cecil Stump writes:
 > Hi all,
 > 
 > I am getting unwanted null chars at the end of every retrieved char field.
 > This would be fine in C, but in Perl, "Bob" != "Bob\0". I am quite certain
 > that these nulls are not in the SQL database data.
 > 
 > Is this some sort of configuration item that I have missed, an MS SQL 2000
 > issue, or something else that I am overlooking?  Any pointers would be
 > appreciated.

This is a problem with the FreeTDS libraries. You should probably take
this question to the FreeTDS mailing list.

Michael
-- 
Michael Peppler - Data Migrations Inc. - mpeppler@peppler.org
http://www.mbay.net/~mpeppler - mpeppler@mbay.net
International Sybase User Group - http://www.isug.com
Sybase on Linux mailing list: ase-linux-list@isug.com

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About