Microsoft
Software
Hardware
Network
Question : Exporting query and setting precision of values
I have a query which averages values using a group-by clause. The inputs are integers but the query results have long tails of decimals resulting from the average calculation. How do I export this query (to a text file) without all these decimals? How can I change the precision of the exported values to have, say, only 2 decimal places?
Answer : Exporting query and setting precision of values
Instead of using Avg(SomeColumn), in your query use Round(Avg(SomeColumn), 2)
Random Solutions
Displaying GroupWise contacts in Exchange address book?
How to convert non ansi outer join =* to ansi outer join
How do I avoid double quotation marks by using comma in Acrobat Acrobat v.9.x
Replace line from keyword
Can I use a sql query file (.sql) with bcp.exe?
Exchange 2007 - Delivery is delayed to these recipients or distribution lists:
ESXi compatible hardware
Capture Linkbutton click event in Master page from Content page
Configuring Incoming Mail to SharePoint w/o Exchange on-site
Number of records when appending query via VBA