Search code examples
nulldynamics-crm-online

Is there a difference between NULL and empty string


We're loading data into CRM via SSIS, and our database contains nulls in string columns. We need to determine how to handle these, and if there's no difference between the empty string and null in CRM, we'd prefer to treat nulls as empty strnigs.

Does CRM contain nulls? Is there a practical difference between nulls and empty strings in CRM?

EDIT: Ok I got it backwards - when we store empty strings in CRM, we're getting NULL back as a result - does CRM store empty strings as nulls, or is it just weirdness with out SSIS connector?


Solution

  • CRM appears to store empty strings as null.

    Ran some tests creating records via the SOAP web service, then checking in SQL which seems to confirm it.

    enter image description here