개발/데이타베이스
WM_CONCAT 사용법
by 로그인시러
2017. 2. 21.
◾ 비공개된 function ◾ Oracle11g manual에는 기재되어 있지 않기 때문에 undocumented function(support대상외)이라는 것 ◾ Distinct, keep, over 가능 |
SELECT WM_CONCAT(REG_NAME) FROM BOARD2
|
SELECT WM_CONCAT(REG_NAME) OVER (PARTITION BY REG_NAME ORDER BY SEQ) FROM BOARD2
|
SELECT WM_CONCAT(REG_NAME) KEEP (DENSE_RANK LAST ORDER BY SEQ) FROM BOARD2
|
SELECT WM_CONCAT(DISTINCT REG_NAME) FROM BOARD2
|
|
출처 : http://blog.naver.com/PostView.nhn?blogId=yysvip&logNo=220232006201&categoryNo=0&parentCategoryNo=0&viewDate=¤tPage=1&postListTopCurrentPage=1
댓글