This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
|
integration:rawdata:delimited:environments [2011/03/14 14:21] 127.0.0.1 external edit |
integration:rawdata:delimited:environments [2012/10/26 14:57] (current) |
||
|---|---|---|---|
| Line 39: | Line 39: | ||
| Tables will point to one or more delimited files, and the files must match the record layout specified in the [[dev:sql:statements:create_table:home|CREATE TABLE]] statement. In the [[dev:sql:statements:create_table:home|CREATE TABLE]] statement, the [[integration:rawdata:delimited:options|OPTIONS clause]] is used to identify this as a delimited file and indicate which delimiters to use. The DELIMITED option indicates that this is a delimited file. The remaining options govern the specific delimiters and behavior to use when parsing the file. | Tables will point to one or more delimited files, and the files must match the record layout specified in the [[dev:sql:statements:create_table:home|CREATE TABLE]] statement. In the [[dev:sql:statements:create_table:home|CREATE TABLE]] statement, the [[integration:rawdata:delimited:options|OPTIONS clause]] is used to identify this as a delimited file and indicate which delimiters to use. The DELIMITED option indicates that this is a delimited file. The remaining options govern the specific delimiters and behavior to use when parsing the file. | ||
| - | In the CREATE TABLE statement, the PHYSICAL clause is used to point to the physical location of the raw data file. This PHYSICAL clause can contain a relative path name (relative to the location of the Omnidex Environment File) such as "dat/states.csv", or an absolute path name such as "d:/class/lab1/dat/states.csv". This PHYSICAL clause can also contain wildcards as described below, and can also reference [[appendix:reference:envvar|environment variables]] using a special syntax. | + | In the CREATE TABLE statement, the PHYSICAL clause is used to point to the physical location of the raw data file. This PHYSICAL clause can contain a relative path name (relative to the location of the Omnidex Environment File) such as "dat/states.csv", or an absolute path name such as "d:/class/lab1/dat/states.csv". This PHYSICAL clause can also contain wildcards as described below, and can also reference [[appendix:reference:envvar:home|environment variables]] using special syntax. |
| <code sql> | <code sql> | ||