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
Why won't Exchange Transport service start in Exchange 2007 on our SBS 2008 server ?
instantiating an object in php
MSiSCSI Timeout - Event ID 103 - 2003 server hanging connected to CX4-120
Exchange database backup failing with Arcserve v15
Does OpenOffice allow Windows 7 preview pane to preview .doc and .xls files?
How do i factory reset netvanta 1524st switch from the cli command line?
PHP Quiz
Outlook Web App Options
perl suppress printing when output to pipe
Strip Attachments From Exchange 2007