Null values getting dropped by SCD Stage
Posted: Wed Aug 01, 2007 10:34 pm
Hi,
I am using the SCD stage to update a dimension. I have a date field (active_start_date) which I have defined as a type 2 field. Most of the time, this field is null. My columns going into and out of the SCD stage allow nulls. I beleive what is happening is that DS is trying to compare a NULL value with a NULL value to determine if something has changed and it doesn't like it.
I cannot very well flip NULL values to a "special code" as the SCD output link needs to go directly to a database stage so that the metadata (whether to update a field, or insert a new record, etc ...) is interpreted correctly.
Any help?
I am using the SCD stage to update a dimension. I have a date field (active_start_date) which I have defined as a type 2 field. Most of the time, this field is null. My columns going into and out of the SCD stage allow nulls. I beleive what is happening is that DS is trying to compare a NULL value with a NULL value to determine if something has changed and it doesn't like it.
I cannot very well flip NULL values to a "special code" as the SCD output link needs to go directly to a database stage so that the metadata (whether to update a field, or insert a new record, etc ...) is interpreted correctly.
Any help?