Decimal conversion
Posted: Fri Sep 23, 2016 9:25 am
Hi All,
I have created a generic job which reads the data from Teradata and creates a flat file.
The SQL i am placing in a file in unix and passing as a parameter to parallel job.
For the decimal columns in flat files, the values are starting with one blank space followed by decimal value.
Example:
"TRANS_NBR","ORDER_CUST_NBR","COST_AMOUNT"
"640124860","159884569"," 0000001.55"
Could you please help me how can i avoid space.
Regards,
Aks
I have created a generic job which reads the data from Teradata and creates a flat file.
The SQL i am placing in a file in unix and passing as a parameter to parallel job.
For the decimal columns in flat files, the values are starting with one blank space followed by decimal value.
Example:
"TRANS_NBR","ORDER_CUST_NBR","COST_AMOUNT"
"640124860","159884569"," 0000001.55"
Could you please help me how can i avoid space.
Regards,
Aks