jeffshelix
SSCrazy
Points: 2257
More actions
May 10, 2018 at 8:03 am
#403329
I would like this to output as
1. With Dollar signs2. Thousand separators3. Whole dollars amount with no decimals.
Thanks
cast(L.HTS_Value as money) as [Original Line_Value]
Thomas Rushton
SSC-Insane
Points: 22649
May 10, 2018 at 8:08 am
#1990048
This is something that would normally be done at the presentation layer...
...however, check out the FORMAT function. https://docs.microsoft.com/en-us/sql/t-sql/functions/format-transact-sql?view=sql-server-2017
Thomas Rushtonblog: https://thelonedba.wordpress.com
May 10, 2018 at 8:14 am
#1990050
Thanks, I concur with that . . . i lost sight of the big picture . . . .
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply