[erlang-bugs] ODBC problem: varchar column contents truncated to 255 chars

Laura M. Castro <>
Sat Apr 16 12:03:55 CEST 2011


> Maybe casting the varchar to text is a workaround:
> odbc:sql_query(C, "SELECT description::text FROM prueba").
> or:
> odbc:sql_query(C, "SELECT CAST(description as TEXT) FROM prueba").

   Thank you so much for the workaround! It works both ways.

   Deeply appreciated,

Laura M. Castro
Department of Computer Science
University of A Coruña

More information about the erlang-bugs mailing list