The CSV Import feature allows you to bring a database structure from an external system into EPC using a .csv file.
The file must be correctly formatted for the import. For format requirements, see the CSV File Format section.
How to Import a CSV File
- From the main navigation toolbar, click the three-dot menu and select Import.

- Select Master Data (.csv).

- The Import window will appear. Click Copy Script to Clipboard to copy the database script.

- Run the copied script on your DBMS and save the result as a .csv file. Instructions for popular tools:
- Click Browse to select the formatted .csv file.

- Select the destination Master Data Folder by typing the folder name or clicking it in the tree selector.

- The selected folder will appear below the field.

- Optionally, select Publish to automatically publish all objects after import.
- Click Finish to start the import.
- A popup will appear indicating that the import has started.

- You will receive a notification once the import is complete, indicating success or failure.

CSV File Format
Your CSV must follow these rules:
- Do not include headers
TABLE_NAME,COLUMN_NAME,DATA_TYPE,FK_TABLE_NAME. - Each row must contain values in this order:
TABLE_NAME,COLUMN_NAME,DATA_TYPE,FK_TABLE_NAME. - Values are separated by commas
,. - All null values must be represented as
NULL.

Saving CSV from SQL Server Management Studio
- Run the copied script in SQL Server Management Studio.

- In the Results tab, right-click and select Save Results As…

- Select CSV as the file type.
- Enter the file name and click Save.

Saving CSV from DBVisualizer
- Execute the copied script.

- In the results tab, right-click and select Export…

- Configure export options:
- Output Format: CSV
- Data Format: Null Value = NULL
- Options: Column Delimiter = “,”
- Options: Uncheck Include Column Header
- Click Next.

- Review the Preview page and click Next again.

- Set the output destination to File, enter a filename, and click Select.

- Click Export to save the CSV to the specified path.
Need more help with this?
Visit the Support Portal


