Toby
Toby

Reputation: 145

SQL Server Import Export Wizard - Error There is already an object named

I'm utilizing the SQL Server Import Export Wizard and I have saved that picks up a txt file and imports to SQL Server. I have to delete the old table or I get an error each time I run. There is already an object name...

My question. Is there a way to truncate the old table and add the new table within this process?

Upvotes: 0

Views: 1132

Answers (1)

Toby
Toby

Reputation: 145

I was able to drop and recreate the table through the SQL Server Import Export Wizard by going to the Edit mapping and selecting "Drop and re-create destination table"

Upvotes: 0

Related Questions