Storing erlang terms in RDMBS

Koushik Narayanan <>
Fri May 29 08:23:39 CEST 2009

Hi all,

What is the right way to store erlang terms in a RDBMS accessed using
the odbc application.

Since the sql_param function takes a string as query argument, how do 
we write a binary and more importantly fetch it back ?

One naive idea would be to base64 the binary, but that is ineffecient 
and surely there should be a better way.


Koushik Narayanan

More information about the erlang-questions mailing list