Hi All
I am facing this problem while loading data from text file into Table.
Scenario is -
There are chances of having spaces for null values in text file.
when i m trying to rum my SSIS package this is getting failed.
How can i avoid this problem? i want null values to be inserted if ther is spaces for that field in text file.
Thanks,
Anshu
Hi,
You can use a derived column transformation and check to see if your input column value has all spaces... trim and followed by len and if len == 0, set the column value to null.
Hope this helps...
No comments:
Post a Comment