SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2008 Forums
 Other SQL Server 2008 Topics
 problem with query
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

WHBEST
Starting Member

1 Posts

Posted - 05/12/2014 :  08:28:33  Show Profile  Reply with Quote
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

India
52317 Posts

Posted - 05/12/2014 :  08:49:11  Show Profile  Reply with Quote
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
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.06 seconds. Powered By: Snitz Forums 2000