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
Windows Service crashing on one machine, not on the other
Display Key Fields
Asterisk+Polycom: Program a key on polycom to transfer-to or conference-in a specific extension
Permission Problems Creating Exchange Mailbox
How do display number as KB, MB, or GB?
Cisco - Site to Site VPN - IPSEC
How can I set up email on my Samsung Black Jack cell phone (log)?
How can I make an easier URL?
Applying group sum to higher level
Backing up, virtual machines - Best Method.