Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2008 Forums
 Other SQL Server 2008 Topics
 problem with query

Author  Topic 

WHBEST
Starting Member

1 Post

Posted - 2014-05-12 : 08:28:33
I have field called "AmountTCC" this is summary float field,
in the query i'am using the following "sum(amountTCC, Decimal(12,2) as AmountTCC" the result is ok - but i need the thousands in the figure

so for example 12.301,80 -

What is the solution for this/

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2014-05-12 : 08:49:11
Thats a presentation requirement and should be done in your front end language. In reporting tools like SSRS, you can achieve this using custom format as below
="#,##,###.#0"

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/
https://www.facebook.com/VmBlogs
Go to Top of Page
   

- Advertisement -