SSIS Derived column question

  • 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

    Tim

  • Looking at BOL, you need to but the dd in double quotes: "dd"

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply