This is an old revision of the document!


Adminstration: Raw Data Files

Delimited Files

Exporting Data to Delimited Files

The Omnidex EXPORT statement can be used to create delimited data files from another Omnidex environment. For example, users can connect to an Omnidex Environment File that accesses a relational database and then export delimited data files for use in a data mart. In fact, this approach is the basis for Omnidex Snapshots.

The Omnidex EXPORT statement can export the results of any SQL statement, including statements that retrieve a subset of columns or rows, join tables, perform aggregations or order the results. These SQL statements can also include SQL functions and expressions, allowing administrators to generate a wide variety of data files for their applications.

The Omnidex EXPORT statement has several options for generating different types of raw data files. The these options are the same as those used in the CREATE TABLE statement.

This example exports all of the columns and rows from a table.

export        (select        *
                 from        INDIVIDUALS)
  to          individuals.csv
  with        DELIMITED COLUMN=',' RECORD='\r\n' QUOTES HEADER DELETE;

Additional Resources

See also:

 
Back to top
admin/rawdata/delimited/export.1299691776.txt.gz ยท Last modified: 2012/10/26 14:52 (external edit)