SSIS default value is not being set when source value in null -
problem: oledb source has null value in phone. destination table has phone not null default 1234567. oledb destination has keep nulls unchecked
according read here https://msdn.microsoft.com/en-us/library/ms187887(v=sql.110).aspx
the default value column should inserted if incoming value null.
but it's not happening. , don't want transformation in ssis. can help?
in data flow task, in ole_db source, set data access mode 'sql command' , write out select statement below
select column_a ,column_b ,isnull(phone, 1234567) ,column_c ,column_d etc. source_table
Comments
Post a Comment