Hello, I have the following SQL query that works fine:
SELECT cs-uri-stem, SUM(sc-bytes) as GB, count(*) AS hits INTO C:\test.csv FROM * GROUP BY cs-uri-stem" -i: w3c -o: csv
What I want to do is divide the number I get in SUM(sc-bytes) as GB by 1000000000. I was able to use the DIV function, but it drops all the zeros after the decimal and I want to keep those. I tried using a simple statement like SUM(sc-bytes) / 1000000000 as GB, but I get an error in LogParser. Thanks for any help.