Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 6 of 6 total
Thread Order in EXPORT TABLE statement
Tue, Mar 26 2013 12:19 PMPermanent Link

Francisco Fernandez

NewTRON Informatica

Avatar

Hi all.

Any way to export a table using EXPOR TABLE statement with an order?. I'm exporting a table and I don't know what order takes the csv file to export rows.

Thank's and regards.
Tue, Mar 26 2013 3:18 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Francisco,

<< Any way to export a table using EXPOR TABLE statement with an order?. I'm
exporting a table and I don't know what order takes the csv file to export
rows. >>

At the moment, no.  The export/import uses raw access to the tables for
performance reasons.  However, I'll see about adding an option to specify
the ordering.

As a workaround, you can define a VIEW with an ORDER BY and then export it
using EXPORT TABLE.

If you have any other questions, please let me know.

Tim Young
Elevate Software
www.elevatesoft.com


Wed, Mar 27 2013 4:47 AMPermanent Link

Francisco Fernandez

NewTRON Informatica

Avatar

Ok.

Thank's and regards.
Wed, Mar 27 2013 5:18 AMPermanent Link

Francisco Fernandez

NewTRON Informatica

Avatar

Hi again.

I have tryed exporting an ordered view and when I export data the csv file don't take the order of the view, may be I'm doing anything wrong but I don't know.

Thank's.
Wed, Mar 27 2013 12:48 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Francisco,

<< I have tryed exporting an ordered view and when I export data the csv
file don't take the order of the view, may be I'm doing anything wrong but I
don't know. >>

Darn it, forget what I said - the view is going to suffer from the same
issue as before.  I'm just going to have to change the way that EDB opens
the table for the export. Smile

Sorry about that,

Tim Young
Elevate Software
www.elevatesoft.com
Wed, Mar 27 2013 1:35 PMPermanent Link

Francisco Fernandez

NewTRON Informatica

Avatar

Tim.

Don't worry, I've solved the problem importing the csv file to a memory ClientDataSet and handle it instead.
Image