![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I want to set destination table programmaticaly in Transformation Data Task. Is it posible? Thanks |
#3
| |||
| |||
|
|
I want to set destination table programmaticaly in Transformation Data Task. Is it posible? Thanks |
#4
| |||
| |||
|
|
I want to set destination table programmaticaly in Transformation Data Task. Is it posible? Thanks |
#5
| |||
| |||
|
|
Look at the DestinationObjectName of the DataPump task dim pmp, dst SET pmp = DTSGlobalVariables.Parent.Tasks("Name of task here").CustomTask pmp.DestinationObjectName = "Insert Value Here" -- Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP) www.SQLDTS.com - The site for all your DTS needs. www.SQLIS.com - You thought DTS was good. here we show you the new stuff. www.konesans.com - Consultancy from the people who know "Arekas" <nospam (AT) stt (DOT) lt> wrote in message news:eEQL%23VabFHA.456 (AT) TK2MSFTNGP09 (DOT) phx.gbl... I want to set destination table programmaticaly in Transformation Data Task. Is it posible? Thanks |
#6
| |||
| |||
|
|
How to read global variable? oCustomTask2.DestinationObjectName = goPackage.GlobalVariables("DestTbl").Value Returns "". I use Dynamic Properties Task to set the global variable. Function DTSGlobalVariables("DestTbl").Value returns correct value, but goPackage.GlobalVariables("DestTbl").Value returns empty. "Allan Mitchell" <allan (AT) no-spam (DOT) sqldts.com> wrote in message news:OUuccw9bFHA.3912 (AT) TK2MSFTNGP15 (DOT) phx.gbl... Look at the DestinationObjectName of the DataPump task dim pmp, dst SET pmp = DTSGlobalVariables.Parent.Tasks("Name of task here").CustomTask pmp.DestinationObjectName = "Insert Value Here" -- Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP) www.SQLDTS.com - The site for all your DTS needs. www.SQLIS.com - You thought DTS was good. here we show you the new stuff. www.konesans.com - Consultancy from the people who know "Arekas" <nospam (AT) stt (DOT) lt> wrote in message news:eEQL%23VabFHA.456 (AT) TK2MSFTNGP09 (DOT) phx.gbl... I want to set destination table programmaticaly in Transformation Data Task. Is it posible? Thanks |
![]() |
| Thread Tools | |
| Display Modes | |
| |