Mar 7, 2005 #1 meckeard Programmer Joined Aug 17, 2001 Messages 619 Location US All, Whenever I use DTS to copy a table from my local server to a remote one, my PK/Identity fields loose the PK and Identity setting. Anyone know what I can do to prevent this from happening? Thanks, Mark
All, Whenever I use DTS to copy a table from my local server to a remote one, my PK/Identity fields loose the PK and Identity setting. Anyone know what I can do to prevent this from happening? Thanks, Mark
Mar 7, 2005 #2 mrdenny Programmer Joined May 27, 2002 Messages 11,595 Edit the transformations and tell it not to drop and recreate the table. You want to append to the already existing table. If you are creating a new table, you'll need to add code after the fact to add this info in. DTS doesn't copy it across. Denny --Anything is possible. All it takes is a little research. (Me) http://www.mrdenny.com (My very old site) Upvote 0 Downvote
Edit the transformations and tell it not to drop and recreate the table. You want to append to the already existing table. If you are creating a new table, you'll need to add code after the fact to add this info in. DTS doesn't copy it across. Denny --Anything is possible. All it takes is a little research. (Me) http://www.mrdenny.com (My very old site)