![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
|
I am having trouble understanding Variables and Property Mapping. I have following four variable: I have two simple data pump task in my package - one does full table transfer and another does partial table transfer based on the date value |
|
1. Source Server - which I want to map to ServerName of OLEDB Connection (Source Connection) A Flag, which indicates which route I should go - Partial or Full. Usually in SQL2K 2. DTS, I used ActiveX Script to check the value of that |
|
Function Main() IF DTSGlobalVariables("gvRecoveryType").value = "Partial" THEN Main = DTSStepScriptResult_ExecuteTask ELSE Main = DTSStepScriptResult_DontExecuteTask END IF End Function These is no longer valid in SQLServer 2005 DTS. What should I do to achive this logic. 3. Date value, which I will use to construct source SQL command. Something like this: "Select * from table1 where myDate > ?" Where "?" will be the variable value. Need help! Thanks Vipul Shah Townsend Analytics, Ltd. Chicago, IL 312-453-8267 |
![]() |
| Thread Tools | |
| Display Modes | |
| |