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
Comparing columns in a table
PowerShell: How to find a contact in W2k8 R2
VB.Net 2008: Send email using richtextbox as Body ignoring Vbnewline and CRLF
user rights and administrative rights problems on domain
Microsoft Exchange 2010
error SQL3126N when loading data from local file to remote DB2 instance
Inserting image in Word 2007 table
Probably an easy question, but how can I set the domain name for use with iis on my lan?
Installing MAPI CDO on Exchange 2007
Vmware and HP msa2324sa dc + DL360 (2) configuration considerations