dbTalk Databases Forums  

Using Global Variable for source and destination in the Transform Data task

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


Discuss Using Global Variable for source and destination in the Transform Data task in the microsoft.public.sqlserver.dts forum.



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

Default Using Global Variable for source and destination in the Transform Data task - 11-10-2003 , 06:52 PM






I've created a global variable to use in the Transform
Data task for my table source and table destination thru
Dynamic Property task. It works fine when -- I go to
package property and change the global variable value it
also change on the source and the destination tab of the
Transform Data task however it does not change the
tranformation automatically. So, I have to go to the
tranformation tab and redo manually. Therefore it defeats
the purpose of using the global variables. Am I missing
anything? Thanks in advance for any help.

Reply With Quote
  #2  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: Using Global Variable for source and destination in the Transform Data task - 11-11-2003 , 04:25 AM






Are you saying that after you execute the package through a scheduled job,
VB or DTSRUN etc when you reopen the package the values have not been set to
your Dynamic Properties task settings ?

If so then this is the way it works. Unless you save the package back after
changing them they will stay set to the Design Tome values when you look at
the package but will still change when asked through the DP task.

OR are you saying that they are simply not changed when you run it through
DTS Designer either?

--

Allan Mitchell (Microsoft SQL Server MVP)
MCSE,MCDBA
www.SQLDTS.com
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org


"Claudia" <anonymous (AT) discussions (DOT) microsoft.com> wrote

Quote:
I've created a global variable to use in the Transform
Data task for my table source and table destination thru
Dynamic Property task. It works fine when -- I go to
package property and change the global variable value it
also change on the source and the destination tab of the
Transform Data task however it does not change the
tranformation automatically. So, I have to go to the
tranformation tab and redo manually. Therefore it defeats
the purpose of using the global variables. Am I missing
anything? Thanks in advance for any help.



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.