Convert the column to money

  • Hi,

    cast(round([YearlyProfit]-[MonthlyProfit],0)as int),

    cast(round(isnull(sum(SalesProfit]),0),0) as int

    How can I convert these columns to money so that I can display the result with comma included.

  • On BOL look at "Cast and Convert (Transact-SQL)" see "money and smallmoney Styles"

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply