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

  1. From the main navigation toolbar, click the three-dot menu and select Import.

  1. Select Master Data (.csv).

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

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

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

  1. The selected folder will appear below the field.

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

  1. 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

  1. Run the copied script in SQL Server Management Studio.

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

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

Saving CSV from DBVisualizer

  1. Execute the copied script.

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

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

  1. Review the Preview page and click Next again.

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

  1. Click Export to save the CSV to the specified path.

Need more help with this?
Visit the Support Portal

Thanks for your feedback.