Quantcast
Channel: Teradata Downloads - Tools
Viewing all articles
Browse latest Browse all 870

Get a Thousand Separators Using BTEQ Export Script

$
0
0
(FORMAT 'G999999999D99' )

Hi
I am using BTEQ script to export the data returned by a query (say like below) to a file called sample.txt
sel
salary
from employee
Now I am getting the sal as 100000.but I want the output in my sample.txt as 100,000with thousand separators).
I tried to use the FORMAT G9999999999D99.#
But my output in the file is coming as 100000.
can any help me how to get 100,000 in the sample.txt(i.e. exported file)
 
Regards
Sri
 
 
 

Forums: 

Viewing all articles
Browse latest Browse all 870

Trending Articles



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