Importing Data to a New Table

  1. On the Database menu, click Import Data. In Object Explorer, right-click a database, point to Data Pump, and then click Import Data. The Data Import wizard opens.
  2. Select a required import format and specify a location of Source data. Click Next.
  3. Specify a Target SQL Server connection and a database, select New table, and enter a name of a table to import the data to. To create or edit SQL Server server connections, click the corresponding buttons. Click Next.
  4. Specify additional options to customize the import. Click Next.
  5. Specify data formats for the Source data and click Next.
  6. Data Pump will automatically create and map all the columns in a Target database to the Source columns. See the Target columns in the top and the Source columns at the bottom of the wizard page. To remap columns, click 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.

  7. 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.
  8. Select how Data Pump should handle errors during import and whether you want to get a log file with details about the import session.
  9. Click Import and see the import progress. Data Pump will notify you whether the import completed successfully or failed. Click the Show log file button to open the log file.
  10. Click Finish to finish the import and close the wizard.

Note

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