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
datagrid question
Sudden Laptop screen failure
When I encrypt/encode a string using codeigniter encryption class, it is different everytime, why?
psexec and copy file permissions
Icons and Start menu disappeared from desktop, running Windows 7 Home Edition on a Dell
Linq and new features design in VS 2008
Trusted Location Error Message "2001"
Can anyone guide me how to download MEMO software back to N900 ?
Teaching iPhone app creation...Any advice?
Operator '=' is not defined for type 'DBNull' and type 'Integer' - how to fix