I have a source column with blank (not "NULL"), and target as numeric. while converting using the data conversion it is not converting due to balnk source value so I used derived column to replace a blank value with NULL or 0 as
(source column == " ") ? "0" : source column
but its not giving the value as 0 in the blank place.
thanks prav
3条答案
按热度按时间kiayqfof1#
This should do the trick.
guicsvcw2#
kgsdhlau3#
I'm pretty sure that the codingbadger answer is missing 1 =. I used that answer but to make it valid I had to write it as: