Turn up the trace to determine if the problem is an ODBC bug or a DBD bug. Try typecasting your values to different data types. For ODBC, the client indicates what type of variable is available to stuff a given value into and ODBC decides how to convert to that type of value so switching datatypes might avoid the bug.
In particular, change your query to return these numeric columns as strings instead (using convert() or cast() or similar). Perl will not have a problem turning the string into a number without you even having to do extra work.
File a bug against DBD::ODBC.
- tye
In reply to Re: Same DBI query gives different results on 32 & 64 bit boxes (types)
by tye
in thread Same DBI query gives different results on 32 & 64 bit boxes
by cenobite1066
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |