Quantcast
Channel: Teradata Forums - All forums
Viewing all articles
Browse latest Browse all 27759

How to format a decimal column in Fast Export - topic by chaitanya09

$
0
0
Hi, I have used Fast export script to export data to text file where one of the column has decimal values. I have tries the below to cast it  1) cast(sum(total_cost)as char(21))   and when the sum value is 0 the output in text file is ".0000" 2) cast(sum(total_cost)as decimal(21,4)) and this gives me junk characters.   Please just me if there are any other alternatives so that I would get the ouput as below

read more


Viewing all articles
Browse latest Browse all 27759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>