(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: