SqlDbx Forum

SqlDbx

You are not logged in.

#1 2009-02-17 10:52:13

Monk
Member

Export multiple tables to one XML file and parse for import

Exporting multiple tables to a single XML file will be very handy and  able to parse and import multiple tables from that XML file to a database will be a very nice feature for sqldbx.

XML output should be;

<MOTree>
< MO TableName="Table1" >
     <attr name="column1">value</attr>
     <attr name="column2">value</attr>
</MO>

< MO TableName="Table2" >
     <attr name="column1">value</attr>
     <attr name="column2">value</attr>
          .
          .
     <attr name="columN">value</attr>
</MO>   
</MOTree>

Than, maybe this feature could be supported by command line by sqldbx.

Offline

#2 2009-02-17 11:17:38

sqldbxhelp
Administrator

Re: Export multiple tables to one XML file and parse for import

I think it's a good idea. Then not only you can
import data but if we save column info to xml then
it will be possible to create tables too.

Offline

#3 2009-02-18 06:47:35

Monk
Member

Re: Export multiple tables to one XML file and parse for import

Yes, it is a good idea if you are importing at the same platform.

For cross platforms ; for example; if I want to import a table from Sybase to Oracle data types will not match. Is it possible to handle this?

I think making data types optinal while export/import will be more convinent.

Offline

#4 2009-02-18 13:53:09

sqldbxhelp
Administrator

Re: Export multiple tables to one XML file and parse for import

Yes it is possible to match data types. This is what we
do internally in SqlDbx anyway.

Offline

#5 2009-06-19 06:29:31

Monk
Member

Re: Export multiple tables to one XML file and parse for import

is there any plans for this request. We would really like to see this feature in sqldbx.

Offline

#6 2009-06-19 15:38:55

sqldbxhelp
Administrator

Re: Export multiple tables to one XML file and parse for import

There will be some changes made to export / import in SqlDbx in a next release.
Will need to think about how to implement something like this in consistent
and useful way

Offline

#7 2009-12-16 05:06:59

Monk
Member

Re: Export multiple tables to one XML file and parse for import

Current export/import functionality is broken for Sybase I think.  I didn't manage to import an exported file with sqldbx. You should make some improvements for applying export/import in a consistent way.

Offline

Board footer

Powered by FluxBB