[erlang-questions] odbc unsigned values
Thu Jan 8 16:33:28 CET 2009
it is saying it is of type: sql_integer
On Thu, Jan 8, 2009 at 3:16 AM, Ingela Anderton Andin <
> What erlang odbc will return depends on which SQL-DATATYPE that the
> driver you use claims it to be.
> You can use odbc:describe_table/[2,3] to find out what type will be
> returned. When we know that maybe
> we can derive if the erlang-odbc port program needs an update or not.
> Regards Ingela Erlang/OTP - Ericsson
> > 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.
> erlang-questions mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions