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 need to change the color of a DataGridView scrollbar in C# WinForms
Get earliest and latest dates in a Listview
check_directory_files
Windows XP does not see other computers on the workgroup
SQL 2005 Formatting help for Flat File
Roaming Profiles in Windows 7 Pro and SBS 2008
pp0 IP configuration.
How can you search e-mail within Outlook 2010 and not use the index?
Windows can't find "msconfig"
Grabbing some word using regular expressions