IMO, you got to loop through the string and replace it. Or the other way would be to have 10 REPLACE function performed on the string.
Code:
SELECT @VarName = textname from TABLE_NAME ... WHERE ColumnName = Somevalue
Select @VarName = Replace(@VarName, '0', '#')
Select @VarName = Replace(@VarName, '1', '#')
...
...
Select @VarName = Replace(@VarName, '9', '#')
Cheers.
_________________________
- Vijay G
Strive for Perfection