Erlang/OTP Forums

Author Message

<  Erlang questions mailing list  ~  Database questions

"mickael_remond"
Posted: Fri Mar 26, 1999 2:56 pm Reply with quote
Guest
I have two questions concerning Erlang and databases :

- About Mnesia :
Is there a way to use several attributes as one key in a Mnesia table ?

- About SqlErlang :
SqlErlang has been written to interface Erlang with Oracle. Does someone
tried to modify this library to modify it to run with other RDBMS ?

And I will finish with a general questions about Erlang and databases :
What are the plans with Erlang and databases ? Will it smoothly include the
RDBMS library ? Will Erlang integrate interfaces to other RDBMS ?

Thank you in advance for your answers.

Mickael Remond




Post generated using Mail2Forum (http://m2f.sourceforge.net)
hakan at erix.ericsson.se
Posted: Fri Mar 26, 1999 3:10 pm Reply with quote
Guest
On Fri, 26 Mar 1999 mickael_remond_at_vuitton.com wrote:

mickael> Date: Fri, 26 Mar 1999 15:43:54 +0100
mickael> From: mickael_remond_at_vuitton.com
mickael> To: erlang-questions_at_erlang.org
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
mattias at erix.ericsson.
Posted: Fri Mar 26, 1999 4:31 pm Reply with quote
Guest
Hakan Mattsson wrote:
>
> On Fri, 26 Mar 1999 mickael_remond_at_vuitton.com wrote:
>
> mickael> Date: Fri, 26 Mar 1999 15:43:54 +0100
> mickael> From: mickael_remond_at_vuitton.com
> mickael> To: erlang-questions_at_erlang.org
> 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.

Perhaps it should be mentioned that the ODBC library for OTP R5 will
only
be released on Solaris and Windows at this moment, not saying it won't
ever
be released on other platforms aswell.

--
Best Regards, Mattias Nilsson
Open Telecom Platform, Open Systems, Ericsson


Post generated using Mail2Forum (http://m2f.sourceforge.net)

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum