Importing Data to a New Table

  1. On the Database menu, click Import Data. The Data Import wizard opens.
  2. Select a required import format, specify a location of Source data, and click Next.
  3. Specify a Target PostgreSQL connection, a database and a schema.
  4. Select New table and enter a name of a table to import the data to. To create or edit PostgreSQL server connections, click the corresponding buttons and click Next.
  5. Specify additional options to customize the import and click Next.
  6. Specify data formats for the Source data and click Next.
  7. dbForge Studio will automatically create and map all the columns in a Target database to the Source columns. See the Target columns on top of the wizard page and the Source columns at the bottom. To remap columns, click the Source column fields and select required columns from the drop-down list.

    Note

    To cancel mapping of all the columns, click Clear Mappings on the toolbar. To restore it, click Fill Mapping.

  8. You can edit the Target column properties by double-clicking them in the top grid. Select the Key check box for a column with a primary key and click Next.
  9. Select how dbForge Studio should handle errors during import and whether you want to get a log file with details about the import session.
  10. Click Import and see the import progress. dbForge Studio will notify you whether the import completed successfully or failed. to open the log file, click Show log file.
  11. To finish the import and close the wizard, click Finish.

Note

You can save the import settings as a template for future uses. To save the selected settings, on any wizard page, click Save Template. Next time you should only select a template and specify a location of the Source data - all the settings will be already set.