dbTalk Databases Forums  

Re: Automapping new table column in DTS transformation task...

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss Re: Automapping new table column in DTS transformation task... in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: Automapping new table column in DTS transformation task... - 09-18-2004 , 05:40 AM






In article <066A292E-55BC-441F-8A9B-7D2CF7C31656 (AT) microsoft (DOT) com>, Ronnie wrote:
Quote:
Here is my problem: We have about 200 different DTS packages running on 48
different production servers. Anytime we add or delete a columns from a
table, we have to go and modify the transformations for these tables. This
is a definite pain, because all we really do is open the transformation,
delete the mappings, click the destination tab, then click the transformation
tab. The SQL DTS editor automatically maps what we need. Then we save it.
Is there a way to have it do this “simple” task automatically without me
having to delete the transformation and have SQL remap it? I mean SQL has
enough sense to remap it automatically, so why can’t it do it by itself? Any
info anyone has would be greatly appreciated.

Thanks,
Ronnie...

The short answer is No.

When you delete the mappings and then rerun the mappings the DTS package rechecks
the metadata.

You can of course do this progrmmatically. You can in the case of an "Add",
create new transformation and map the columns accordingly. For the "Remove" you
will need to find the transformation that contains the column and remove it from
the collection.

Not pretty but that is your option.


--

Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.SQLDTS.com - The site for all your DTS needs.
www.konesans.com - Consultancy from the people who know





Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.