What is the easiest way to copy tables from one SQL Server database to another?
Resolved SQL
UE
Uma Ellis
November 21, 2026
4 replies
71 views
Reviewed by moderators
3 participants

I need to copy 20 tables with data from one database to another on the same server. What is the easiest method?

Accepted answer
Marked as the solution to this question

Options:

1. Use the Import and Export Wizard in SSMS. Right click the source database, choose Tasks > Export Data, set the destination database and select the tables.
2. Use INSERT INTO with a SELECT and three part names, like INSERT INTO TargetDB.dbo.Table SELECT * FROM SourceDB.dbo.Table, if the tables already exist.
3. Use Generate Scripts with schema and data to build a script you can execute in the target.
4. Use a backup and restore to a new name if you want a full copy.

The wizard is the simplest for a few tables.

Wizard worked. Thanks.

Check row counts after the copy, and identity columns if you need to keep the original values.

Matched.