3. Databases
3 Databases
3.1 Databases
If you need to access a relational database such as sqlserver
, mysql
, postgres
, oracle
, cybase
etc. from your erlang application using the Erlang ODBC interface is a good way to go about it.
The Erlang ODBC application should work for any relational database that has an ODBC driver. But currently it is only regularly tested for sqlserver
and postgres
.
3.2 Database independence
The Erlang ODBC interface is in principal database independent, e.i. an erlang program using the interface could be run without changes towards different databases. But as SQL is used it is alas possible to write database dependent programs. Even though SQL is an ANSI-standard meant to be database independent, different dat