IsNull

  • What is the difference between:

    IsNull(field)

    and

    IsNull(Field,0)

    Thank You

  • The first is used by SSIS to do a NULL test, ie: ISNULL(Field) returns true or false. The second is SQL saying that is the value is NULL then replace it with the second argument. There is also a .IsNull in relation to the geography datatype.

    Clear?

    CEWII

  • Ah...thanks!

  • You are welcome.

    CEWII

Viewing 4 posts - 1 through 3 (of 3 total)

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