Hi @jn93 ,
You can use a Derived Column Transformation for your goal.
Please try the following expression:
Excess < 1 ? "0" + (DT_WSTR,6)Excess : (DT_WSTR,6)Excess
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi All,
I have SSIS package export from SQL table into CSV file. After export, as shown below some of the data in CSV file is not same as per SQL table. Upon checking the data type in output column EXCESS at advanced editor of source, it is in NUMERIC. Any suitable data type to ensure I got the same in CSV?
Hi @jn93 ,
You can use a Derived Column Transformation for your goal.
Please try the following expression:
Excess < 1 ? "0" + (DT_WSTR,6)Excess : (DT_WSTR,6)Excess
Hi @jn93 ,
Like YitzhakKhabinsky-0887 said that you may use a Derived Column to change the format of the value.