-1

There are ? in my data columns and I have to replace them with NULL. In my SSIS package.

1 Answer 1

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]
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.