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
I can send e-mail ok but cannot get to Internet via browser
wordpress causing infinite tabs opening?
Setting up my first database driven web site
change SQLserver 2005 to mix mode
How do I modify this php script to send a confirmation?
Need to know all ports associated with network shares
AMD vs Intel? on dell's website - which has greater VM performance?
Excel control returns only a string
Conditional Formating in Access
SAP RFC returning Invalid Data Type