_대문 | 방명록 | 최근글 | 홈피소개 | 주인놈
FrontPage › 3자리마다콤마찍기

select replace(replace(convert(varchar, convert(money, 1000000), 112), '.00', ''), '.', ',')

--sql server 2012 버전 이상
select format(1000000,'#,#')

댓글 남기기..
이름: : 오른쪽의 새로고침을 클릭해 주세요. 새로고침
EditText : Print : Mobile : FindPage : DeletePage : LikePages : Powered by MoniWiki : Last modified 2018-04-13 23:12:54

가루는 칠수록 고와지고 말은 할수록 거칠어진다.