Sean Lange (8/19/2013)
No need for a case expression here at all. Just convert the value, it will give you the negative values just fine.
CONVERT(decimal (18,2),REPLACE(LTRIM(REPLACE(TestData,'0',' ')),' ','0'))
Duh!!! I missed that. :w00t:
For best practices on asking questions, please read the following article: Forum Etiquette: How to post data/code on a forum to get the best help[/url]