[erlang-questions] odbc blob datatype

Ingela Andin <>
Mon Jun 27 11:45:46 CEST 2011


Hi!

Well it is mapped to SQL_WLONGVARCHAR which has been unsupported but we
have a patch on its way in that will add support for SQL_WLONGVARCHAR.

See my github repository
:IngelaAndin/otp.git

branch hs/odbc/sql_wlongvarchar_support

Regards Ingela Erlang/OTP team - Ericsson AB


2011/6/24 Juan Antonio Berrayarza Lanzó <>:
> Hi :
>
> I'm trying to access a table in Mysql that has TEXT fields.
> when i do a odbc:describe_table() i get
> {"field_name",ODBC_UNSUPPORTED_TYPE}.
>
> Reading documentation about erlang odbc, i see that TEXT fields should
> be mapped to SQL_LONGVARCHAR.
>
> Has anyone worked this out? how can i query tables with TEXT fields
> using odbc and erlang ?
>
>
> erlang : R14B02
> odbc: 2.10.10
> mysql: 4.1.49
>
> odbc mysql driver : 5.1.8
>
> Tx to all of you
>
>
>
>
>
> _______________________________________________
> erlang-questions mailing list
> 
> http://erlang.org/mailman/listinfo/erlang-questions
>



More information about the erlang-questions mailing list