[erlang-questions] Iteration in mnesia tables

t ty <>
Tue Dec 19 16:12:21 CET 2006


You can iterate over all the rows using mnesia:foldl/3. The Function
passed into foldl can make the proper odbc calls for each record.

t

On 12/19/06, Siddharth Pareek <> wrote:
>
>
> Hi ,
>      I want to iterate over the various tables and the columns in that
> respective tables. While iterating the values i want to fetch the values and
> insert them in the other databse i.e Oracle. Do anyone have an idea the way
> to do this..either iterating n inserting or both . Also I am using odbc for
> this .
>
> Thanks and Regards,
> Siddharth Pareek
> _______________________________________________
> erlang-questions mailing list
> 
> http://www.erlang.org/mailman/listinfo/erlang-questions
>
>
>



More information about the erlang-questions mailing list