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
 Transact-SQL (2008)
 format query result

Author  Topic 

eponcedeleonc
Starting Member

4 Posts

Posted - 2011-08-16 : 17:27:35
I have a query and want to know how to output the result in currency format ($999,999,999.00)
this is my query...


SELECT SUM ("Importe") AS "Total" FROM public."JUN_F2" WHERE "JUN_F2"."Cuenta" = 10247219;

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2011-08-16 : 17:29:32
Formatting of the data is a presentation issue and therefore should be handled in your application.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog
Go to Top of Page
   

- Advertisement -