odbc unicode strings and datetime
Mon Jul 6 13:15:09 CEST 2009
Attached are two patches to odbc module.
The first one adds support for unicode text (nvarchar) fields.
The second changes the handling of datetime fields so that it's possible
to pass datetime data to odbc:param_query as
It also returns datetime fields from the database as tuples instead of
strings which makes it backwards incompatible.
Datetime patch should be applied on top of nvarchar patch.
odbctest.erl contains an example of usage.
I've tested with WinXP/MSSQL2008 and Win2003/MSSQL2008
Any comments are appreciated.
The patches are made with git diff, hopefully the format is ok.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-patches