ISNULL DATE_TIME

  • HI

    in my ssis...i want to compare load_date to create date..but my 1st run my load date is empty

    so that i used isnull function in ssis

    ISNULL(load_date) ? GETDATE() : load_date

    this query i got success

    but i need

    ISNULL(load_date) ? 01/01/1111 : load_date

    so i compare any previous date to my today load_date how to write this condition in ssis

  • ISNULL(load_date) ? 01/01/1111 : load_date

    when user load_date is datetime at that time 01/01/1111 is not supported sql server.

    sql server support date starting from 01/01/1753.

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

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