Import/Export data Dialog¶
Use the Import/Export data dialog to copy data from a table to a file, or copy data from a file into a table.
The Import/Export data dialog organizes the import/export of data through the Options and Columns tabs.
Import/Export data dialog - Options tab¶
Use the fields in the Options tab to specify import and export preferences:
Move the
Import/Exportswitch to theImportposition to specify that the server should import data to a table from a file. The default isExport.Use the fields in the
File Infofield box to specify information about the source or target file:Enter the name of the source or target file in the
Filenamefield. Optionally, select theBrowsericon (ellipsis) to the right to navigate into a directory and select a file.Use the drop-down listbox in the
Formatfield to specify the file type. Select:binaryfor a .bin file.csvfor a .csv file.textfor a .txt file.
Use the drop-down listbox in the
Encodingfield to specify the type of character encoding.
Import/Export data dialog - Miscellaneous tab¶
Use the fields in the
Miscellaneousfield box to specify additional information:Move the
OIDswitch to theYesposition to include theOIDcolumn. TheOIDis a system-assigned value that may not be modified. The default isNo.Move the
Headerswitch to theYesposition to include the table header with the data rows. If you include the table header, the first row of the file will contain the column names.If you are exporting data, specify the delimiter that will separate the columns within the target file in the
Delimiterfield. The separating character can be a colon, semicolon, a vertical bar, or a tab.Specify a quoting character used in the
Quotefield. Quoting can be applied to string columns only (i.e. numeric columns will not be quoted) or all columns regardless of data type. The character used for quoting can be a single quote or a double quote.Specify a character that should appear before a data character that matches the
QUOTEvalue in theEscapefield.
Click the Columns tab to continue.
Import/Export data dialog - Columns tab¶
Use the fields in the Columns tab to select the columns that will be imported or exported:
Click inside the
Columns to export/importfield to deselect one or more columns from the drop-down listbox. To delete a selection, click thexto the left of the column name. Click an empty spot inside the field to access the drop-down list.Use the
NULL Stringsfield to specify a string that will represent a null value within the source or target file.If enabled, click inside the
Not null columnsfield to select one or more columns that will not be checked for a NULL value. To delete a column, click thexto the left of the column name.
After completing the Import/Export data dialog, click the OK button to perform the import or export. PEM will inform you when the background process completes:
Import/Export data dialog - Completion Notification¶
Use the Stop Process button to stop the Import/Export process.
Use the Click here for details link on the notification to open the Process Watcher and review detailed information about the execution of the command that performed the import or export:
Import/Export data dialog - Process Watcher¶
Note
You can click on the
icon in the process watcher window to open the file location in the Storage Manager. You can use the Storage Manager to download the backup file on the client machine .
Note:
If
ENABLE_DATA_ACCESS_TOOLSconfiguration option is set to False then Import/Export option is disabled.