Import File Dialog
In the left-hand part, specify how your delimiter-separated values should be converted into table format. In the right-hand part, specify the settings for the target table in your database.
- Conversion settings
- Table name, structure and data mappings
- Data and DDL previews
- Encoding, Write errors to file and Insert inconvertible values as null
When working on the conversion settings, use the table preview in the right-hand part of the dialog underneath the table settings.
|Formats|| Select your file format and check the table preview. If you haven't achieved the desired result yet, adjust the settings. |
If you have changed the settings and want to save the changes, click this icon and select one of the following:
|Value separator||Select or type the character used for separating individual values.|
|Row separator||Select or type the character that should be treated as a row separator.|
|Null value text|| The text to be used as a value if a cell contains |
|Add row prefix/suffix|| Row prefix and suffix are character sequences which in addition to the row separator indicate the beginning and end of a row. |
If necessary, click the link and specify the row prefix and suffix in the fields that appear.
|Quotation|| Each line in the area under Quotation is a quotation pattern (see Quote values). A quotation pattern includes: |
If there is more than one pattern, the first of the patterns is used.
Use,, and to create, delete and reorder the patterns.
To start editing an existing pattern, just click the pattern of interest.
|Quote values|| Specify in which cases the values should be quoted (i.e. enclosed within quotation characters). |
|Trim whitespaces||If this checkbox is not selected, the Unicode whitespace characters that precede and follow the value separators are treated as parts of the corresponding values. If this checkbox is selected, the corresponding whitespace characters are ignored or removed.|
|First row is header||If this checkbox is selected, the first row is treated as containing column names. The settings that appear under Header Format have the same meanings as the ones above but are applied to the first row.|
|First column is header||If this checkbox is selected, the first column is treated as containing row names.|
Table name, structure and data mappings
|Table||The name of the table.|
|Comment||The table comment.|
|Columns / Keys etc.|| Data mappings for columns, and the definitions of the columns, constraints and indexes. |
Data and DDL previews
|Data preview||The preview of data you are about to import.|
|DDL preview||The statement or statements that will be run. You can edit the statements right in the preview pane.|
Encoding, Write errors to file and Insert inconvertible values as null
|Encoding||The character encoding for your data in the source file.|
|Write errors to file||If you select the checkbox, the errors that occurred during the import are written to the specified text file. For each of the errors the place where it occurred is indicated.|
|Insert inconvertible values as null||If you select the checkbox, NULLs will be inserted into the table for the data that cannot be converted.|