PyCharm 2017.2 Help

Import File dialog when called from a table editor

This dialog opens when exporting delimiter-separated values from a table editor to a database.


Table name, structure and data mappings

ItemDescription
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.
  • To start editing the information for a column, double-click the corresponding line in the list of columns.

    Note the Mapped to field. This field lets you specify which data column in the file being imported should be used as a source of data for the corresponding column in the database. If you clear this field, no data will be added to the target column in the database.

  • To remove a column, select the corresponding line and click /help/img/idea/2017.2/delete.png.

DDL preview

The statement or statements that will be run. You can edit the statements right in this pane.

Encoding, Write errors to file and Insert inconvertible values as null

ItemDescription
EncodingThe character encoding for your data in the source file.
Write errors to fileIf you select the check box, 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 nullIf you select the check box, NULLs will be inserted into the table for the data that cannot be converted.

See Also

Last modified: 9 August 2017