I was asked today, if I knew how to format a negative number from displaying -9 to (9). The only thing I can think of is Select Case when x<0 then ‘(‘+convert(varchar(13),neg(x))+’)’ else convert(varchar(13),x) end
Is there some SQL function that will do this? I couldn't find anything under convert or cast that would do this.
Thank you,
Carol