View Single Post

   
  #2 (permalink)  
Old 02-29-2008, 01:31 PM
SQL
 
Posts: n/a
Default Re: Display Money Type using + and -

It should be done in VB
but you can do it like this

select case field when < 0 then '-' + convert(varchar,field) else '+' +
convert(varchar,field) end MoneyField from TableA

I don't know whatt you want to display for 0.00


http://sqlservercode.blogspot.com/

Reply With Quote