Posted by Plamen Ratchev on 01/13/08 19:16
Another alternative is using something like this: SELECT REPLACE(' ' + STR(a/NULLIF(b, 0), 5, 3), ' 0.', '.') AS col_name FROM TABLE HTH, Plamen Ratchev http://www.SQLStudio.com
[Reply to this message]
Copyright © 2005-2006 Powered by Custom PHP Programming