MS SQL 함수 모음
날짜 함수 select getdate() 13 -14 13.80 select floor(13.7), floor(-13.7), round(13.75, 0) result -> 13 -14 14.00 select floor(13.7), floor(-13.7), round(13.75, -1) result -> 13 -14 10.00 --select replicate('*',10) -- 해당문자를 n 번 반복 예에서는 * 을 10번 출력 select name, (gi_pay + su_pay) as [급여], replicate('*', floor((gi_pay + su_pay)/100000)) as [그래프] from insa stuff 내장함수 select stuff('영업팀', 3, 1, '부') as stuf..
더보기