I am looking to evaluate a text field in the row and change it to an integer in the sql table based on the text.
What is the best data flow tranformation for me to use inbetween the flat file source and the ole db destination?
it depends on what logic you are using for your evaluation but Derived Column will probably do it. If not, the script component.
-Jamie
|||Can you help with an example If then expression?|||With the information you have provided, no. What evaluation do you want to do?
-Jamie
|||Something like:
If [Treatment] = "No Deposit Required" then 1 else 0
I'm not sure how to write this in an expression.
|||OK
[Treatment] == "No Deposit Required" ? (DT_I4)1 : (DT_I4)0
-Jamie
|||Thanks. your great..
没有评论:
发表评论