Some data types, such as datetimes, are returned as strings, because I haven't had time to write a good binding for them yet.
It would be nice to bind the dblib interface as well, and maybe even have the DBI module be able to use either, because I understand they have slightly different features
Installation
The easier way is to use opam:
opam install freetds
Quick Version:
$ tar xjvf ocaml-freetds-<version>.tar.bz2
$ cd ocaml-freetds-<version>
$ make
$ make install
Long Version:
make This will build ocaml-freetds. This requires FreeTDS development packages to be installed, see the depexts section in freetds.opam.
make install You may need to run this as root, or someone with permissions to the findlib's destdir. This should install ocaml-freetds as a findlib package, so you can use 'ocamlfind' to build things with it.
Special OSX Instructions
This seems to be the easiest way to get ready on OSX: