Article ID: 247825 - Last Review: October 30, 2003 - Revision: 3.2 PRB: DTS Copy Table Uses Table Schema of Existing Table
This article was previously published under Q247825 On This PageSYMPTOMS
If you use the Data Transformation Services (DTS) Wizard with the Copy Table option and with the Drop and Re-create Destination Table option, the table that is created uses the schema of the table that was dropped and not the schema of the table to be copied.
CAUSE
This behavior is normal and by design. The wizard correctly creates the destination table as indicated, which defaults to the existing table's schema. Unlike object transfer, the wizard does not overwrite the destination table with the source table schema. You can edit the columns in the destination grid and change the destination schema default or change the SQL directly for the destination schema.
WORKAROUND
Drop the destination table first or use Transfer Object.
MORE INFORMATIONSteps to Reproduce Behavior
Special ConsiderationsYou might not discover this problem until you attempt to insert new data into the new table. This is because you may not notice the change in the table schema at first on very large tables, which have similar table schemas of the table being replaced.
| Other Resources Other Support Sites
CommunityGet Help NowArticle Translations
|






Windows Live
Facebook
Twitter
Linkedin
Digg it
Yahoo
Delicious
StumbleUpon
Yammer
Reddit
Technorati
FriendFeed
Email
Back to the top
