Having just started poking around SSIS I am trying to add derived columns to a query result in data flow but all of the date functions that use the 'datepart' parameter always show as an error and will not evaluate. The error is always something like:
'attempt to find the input column named 'dd' failed with error code....The input column specified was not found in the input column collection'
This is the error for an expression like DATEDIFF( dd, [First Contact] , [referral_date] )
I must be missing something basic but I cannot find what it could possible be.
Thanks