Database questions

Hakan Mattsson <>
Fri Mar 26 16:10:03 CET 1999


On Fri, 26 Mar 1999  wrote:

mickael> Date: Fri, 26 Mar 1999 15:43:54 +0100
mickael> From: 
mickael> To: 
mickael> Subject: Database questions
mickael> 
mickael> I have two questions concerning Erlang and databases :
mickael> 
mickael> - About Mnesia :
mickael> Is there a way to use several attributes as one key in a Mnesia table ?

No, but the key kan be an arbritary complex Erlang term.
You can for example let a record or tuple to constitute a structured key.

mickael> - About SqlErlang :
mickael> SqlErlang has been written to interface Erlang with Oracle. Does someone
mickael> tried to modify this library to modify it to run with other RDBMS ?
mickael> 
mickael> And I will finish with a general questions about Erlang and databases :
mickael> What are the plans with Erlang and databases ? Will it smoothly include the
mickael> RDBMS library ? Will Erlang integrate interfaces to other RDBMS ?

In the new OTP R5 release there is an Erlang binding to ODBC. With
this you will be able to interface a wide range of relational DBMS's.

Best Regards

	Håkan
----------------------------------------------------------------------
Håkan Mattsson                 | Phone:  +46 8 719 92 51
Computer Science Lab           | Fax:    +46 8 719 89 88
Ericsson Network Core Products |
Box 1505                       | E-mail: 
S-126 25 Älvsjö, Sweden        | http://www.ericsson.se/cslab/~hakan






More information about the erlang-questions mailing list