New
Back
Database Management

Reliable database management for modern, high-performance systems.

Back
Data Modernisation

Reliable database management for modern, high-performance systems.

Back
Data Engineering

Reliable database management for modern, high-performance systems.

Back
Analytics & Intelligence

Reliable database management for modern, high-performance systems.

Back
Data Strategy Consulting

Reliable database management for modern, high-performance systems.

How to copy multiple tables from one database to another database using import/export wizard

Buddiga Satish Kumar
Published on
April 1, 2021

By using SQL Server Export and Import wizard, we can export from the source database or import from the destination to transfer the data.

STEP 1: From the SQL Server Management Studio, right-click on the GEOPITS database in the object explorer, then choose Tasks -> Export Data

STEP 2: After SQL Server Import and Export Wizard popped up, click Next.

STEP 3: Now Select the Data source from the drop box from which you want to copy the data.

STEP 4: From this Choose a Data Source window, specify the source Server Name, the Authentication method that will be used to connect to the source server and the source database name. Then click Next.

STEP 5: Now Select the Destination from the drop box for where you want to copy the data.

STEP 6: From this Choose a Destination window, specify the destination server name, the Authentication method that will be used to connect to the destination server and the destination database name. Then click Next.

In addition to the existing database, we can create new database by clicking on the New button from Choose a Destination window. After clicking the New button, you will get the below screen. Then specify the Name of the database and corresponding Data file and Log file size as required.

STEP 7: Now select Copy table from one or more tables or views radio button and then click Next.

STEP 8: Select the tables or views and that will be copied from the chosen source database to the destination one, then click Next.

In order to make sure that the tables will be created in the destination database, click on Edit Mappings and make sure that the Create destination table is ticked, and if any of the tables contain IDENTITY column, then tick Enable Identity Insert and then click OK. If you have more than one table to be exported to the destination database then you need to go through the Edit Mapping check table by table.

Also we can edit the Tables by clicking Edit SQL and then click OK.

STEP 9: In the Run package, we can select either Run immediately or Save SSIS package. If Run Immediately option is selected then click Next.

If Save SSIS package is ticked then select SQL server and provide the Package protection level from the drop box and then click Next followed by Authentication details. Now specify the SSIS package details followed by Authentication method and click Next.

STEP 10: In the complete wizard window, click Finish.

STEP 11: Once the execution is completed successfully, you can view the steps and status of the tables that are migrated and the number of records transferred. Review the steps and the messages and if there is no errors, click Close.

Further reading:

If you found this article helpful, you might want to check out these related resources,

Buddiga Satish Kumar

Our Latest Blogs

From monitoring to modernization, GeoPITS provides expert database management services that enhance performance, strengthen security, and reduce operational costs.

Ready to Transform Your Data?

Geopits works alongside your team as a strategic partner, starting with stabilizing your current databases, then modernizing your data infrastructure, and ultimately helping you unlock the full potential of AI.

170

Happy Clients so far

2100+

Databases Managed

142+

Successful Migrations

Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.