[erlang-questions] odbc unsigned values

Jed McCaleb <>
Fri Dec 26 19:32:21 CET 2008


Hi,
I'm trying to port my erlang app to linux. It works fine on windows but I'm
having trouble with odbc on linux. Basically anytime I do something like
this:

SQL="Select BigInt from Table",
odbc:sql_query(DBRef, SQL).

If BigInt is over 2147483647 it will just return 2147483647.

in mysql BigInt is of type: int(10) unsigned
it works fine from isql
I'm using odbc-2.10.2

Is this a known problem? Any ideas how to fix?
Thanks for any help,
Jed.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20081226/c0d0868a/attachment.html>


More information about the erlang-questions mailing list