communicate with a DBMS?
There are two completely different ways to communicate with a database. One way is for Erlang to act as a database for another system. The other way is for an Erlang program to access a database. The former is a “research” topic. The latter is easily accomplished by going via ODBC, which allows you to access almost any commercial DBMS. The OTP ODBC manual explains how to do this.