Derived Column中空值判断 表中有一varchar(10)字段A,导入数据时要对该字段进行判断,如果是""的话就要转换成NULL,在Derived Column Transformation Editor中expression是这样写的
LEN(A)== 0 ? NULL(DT_STR,10,1252) : A,
老是提示错误has a DT_STR operand that is not an input column or the result of a cast, and cannot be used with the conditional operation.