Re: SSIS Data Flow - Have Null values take table default -
06-07-2006
, 12:42 PM
Ok so I've done some more poking, and this is what I've been able to
come up with:
1) If a sql table column has a default value, but allows Nulls, I have
gotten SSIS to successfully use the table's default value when it sends
a Null field over to the SQL table. This works when FastLoadKeepNulls
= False in the OLE DB Destination properties.
2) HOWEVER, even if a column has a default value, if Nulls are not
allowed in the SQL table, SSIS bombs when it tries to send a null (or
what should be the default) value over to the table. I've tried every
combination of properties in the OLE DB Destination properties and
can't get it to work when Nulls are disallowed in the SQL table.
Being able to at least do #1 will likely let me squeeze by, but I still
think there's gotta be a way to get the default value input when nulls
aren't allowed. |