[dba-SQLServer] Formatting Numbers IN SQL

David Emerson newsgrps at dalyn.co.nz
Mon Sep 15 13:58:17 CDT 2008


I am wanting to convert the following access line into SQL:

Format(12345,"#,##0")

Is there an equivalent SQL command to use in a stored procedure?  The 
result is then to be cast into a varchar to be appended to another varchar.


Regards

David Emerson
Dalyn Software Ltd
Wellington, New Zealand 




More information about the dba-SQLServer mailing list