SSIS 2008 : How to use IsDate on Derived Column transformation

  • Hi

    I am importing data from an Ms Excel spreadsheet. One of the columns should be in a date format...but it sometimes is the

    format 'Indefinite'

    Therefore I am trying to created a Derived Column transformation as follows:

    ([AOC End Date] == "Indefinite" ? "01/12/2099": [AOC End Date])

    Ie if [AOC End Date] is not equal to Indefinate then set it to 01/12/2099 else set it as [AOC End Date]

    What am I doing wrong here?

  • What error(s) are you getting? Right now I don't see anything wrong with your syntax.

    Is the data flow expecting that data type to be a date and you're pushing a string?

    We need more information to help you.

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

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