I wish to write a query which will replace the value0.00 with "-" in a column. The value should only be replaced if the value is 0.00 and not if 230.00
I did this query replace(SUBSTRING(cast(columname AS varchar(7)),0,7),'0.00','-')
but it replaces 230.00 as 23-
Please help