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
sort varchar
logon mess
Bind List<List<string>> to Grid
Excel VBA Select All File Types From a Specified Folder
Will an AGP Video Card work in a PCI Express Slot?
"Invalid Argument provided." Error when Generating PDFs in VB.NET Application via Crystal Reports Viewer
OMA and OWA
mysql stored proc parameter
Direct X 10.1 vs Direct X 11, Windows XP SP3 vs Windows 7
RHEL How to set the IP addy in KNOME or command line