FMT
Specifies the format to use when parsing all CSV files.
Data Type
string
Default Value
"CsvDelimited"
Remarks
When this connection property is set, the connector parses all CSV files in the URI according to the specified file format:
- CsvDelimited: The connector separates each field by commas.
- TabDelimited: The connector separates each field by tabs.
- FixedLength: The connector counts a specified number of characters to separate each field. Requires you to also set the width of each column in Schema.ini.
The following connection string parses all CSV files in the folder specified in the URI as tab-delimited values with headers:
InitiateOAuth=GETANDREFRESH;URI=C:\mytsv;FMT=TabDelimited
If the property is set to anything other than the values specified above, the literal character of the specified input is read as the delimiter.
For example:
InitiateOAuth=GETANDREFRESH;URI=C:\mypipdelimitedfile;FMT=||