This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
admin:rawdata:delimited:export [2011/03/10 00:42] els |
— (current) | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ~~NOTOC~~ | ||
| - | {{page>:top_add&nofooter&noeditbtn}} | ||
| - | |||
| - | ====== Adminstration: Raw Data Files ====== | ||
| - | |||
| - | ===== Delimited Files ===== | ||
| - | |||
| - | [[admin:rawdata:delimited:home|Overview]] | | ||
| - | [[admin:rawdata:delimited:environments|Environments]] | | ||
| - | [[admin:rawdata:delimited:options|Options]] | | ||
| - | [[admin:rawdata:delimited:datatypes|Datatypes]] | | ||
| - | [[admin:rawdata:delimited:ofx|Offset Indexes]] | | ||
| - | **[[admin:rawdata:delimited:export|Exporting]]** | | ||
| - | [[admin:rawdata:delimited:limitations|Limitations]] | ||
| - | |||
| - | |||
| - | ---- | ||
| - | |||
| - | ==== Exporting Data to Delimited Files ==== | ||
| - | |||
| - | The Omnidex EXPORT statement can be used to create delimited files from another Omnidex environment. For example, users can connect to an Omnidex Environment File that accesses a relational database and then export delimited 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 [[admin:rawdata:delimited:options|options]] are the same as those used in the CREATE TABLE statement. | ||
| - | |||
| - | This simple example exports all of the columns and rows from a table. The options used will create a comma-delimited file appropriate for the Microsoft Windows operating system that honors quotation marks. | ||
| - | |||
| - | <code> | ||
| - | export (select * | ||
| - | from INDIVIDUALS) | ||
| - | to individuals.csv | ||
| - | with DELIMITED COLUMN=',' RECORD='\r\n' QUOTES DELETE; | ||
| - | </code> | ||
| - | |||
| - | ===== ===== | ||
| - | |||
| - | **[[admin:rawdata:delimited:ofx|Prev]]** | | ||
| - | **[[admin:rawdata:delimited:limitations|Next]]** | ||
| - | |||
| - | ====== Additional Resources ====== | ||
| - | |||
| - | See also: | ||
| - | |||
| - | {{page>:admin:rawdata:see_also&nofooter&noeditbtn}} | ||
| - | |||
| - | {{page>:bottom_add&nofooter&noeditbtn}} | ||