There are ? in my data columns and I have to replace them with NULL. In my SSIS package.
Asked
Active
Viewed 232 times
1 Answers
0
if a question mark is in the column already it must be some kind of string.
Use a derived column and a if function:
[colName] == "?" ? NULL(DT_STR, «length», 1252) : [colName]
or
[colName] == "?" ? NULL(DT_WSTR, «length») : [colName]

KeithL
- 5,348
- 3
- 19
- 25