formate and unformate in sql code example Example: format numbers in sql server SELECT FORMAT(123456789, '#,#');