본문 바로가기
프로그래머/프로그래밍

MS SQL 숫자에 콤마찍기 (화폐처럼)

by plog 2010. 1. 21.

select replace(convert(varchar(15),convert(money,'12345'),1),'.00','')

출력 형태 12,345

 


댓글