SSIS Tutorial - Derived Column Transformation - Handling NULLs

Поділитися
Вставка
  • Опубліковано 9 лют 2025

КОМЕНТАРІ • 5

  • @houstonvanhoy7767
    @houstonvanhoy7767 Рік тому +2

    Brad: Thank you for the demonstration of the REPLACENULL function. I am familiar with the COALESCE function in SSMS queries, so I am mildly surprise that MSFT didn't bring that function name over to SSIS / SSDT. Perhaps that function name was spoken for, or could not be re-used. Please comment.

    • @BeardedDevData
      @BeardedDevData  Рік тому +1

      It's different code in SSIS, more based on Visual Basic I believe than SQL.

    • @houstonvanhoy2198
      @houstonvanhoy2198 Рік тому +1

      @@BeardedDevData Since you mentioned Visual Basic: there is a difference between Visual Basic and Visual Basic for Applications, right? Maybe I should just look it up. The naming similarity is confusing, of course.

  • @Sandroider
    @Sandroider 3 роки тому +1

    In one scenario from source data there were NULLs and "NULL" text values written in source data so I used expression group_type == "NULL" ? NULL(DT_WSTR,50) : group_type to get all rows to real NULLs, is there better way to do this?

    • @BeardedDevData
      @BeardedDevData  3 роки тому

      That will work fine, I believe there are some 3rd party tools that can help but I would have done the same as you. The best option is to remove the problem at source if possible.