OCaml FreeTDS Binding
See the online documentation.
Before installing the bindings, you must have the development package of FreeTDS on your system. See freetds.opam to know what (system) package to install.
The simplest way of installing this library is to use opam:
opam install freetds
If you cloned this repository, issue
make to compile. To install:
To run the tests, you must first set the environment variables
MSSQL_TEST_DATABASE and, if necessary,
TDSVER (see appveyor.yml for example values). Then type
In the examples subdirectory is a simple SQL dispatcher script written against the
Dblib and the
Known Bugs And Limitations
Some data types, such as datetimes, are returned as strings, because I haven't had time to write a good binding for them yet.
ocaml-freetds is distributed under the terms of the GNU Lesser Public License, version 2.1 See the file LICENSE.md for details.