행위

"오라클 listagg 함수"의 두 판 사이의 차이

DB CAFE

(새 문서: ListAgg * Row를 Col로 변경 Syntax (12c 개선) <source lang=sql> LISTAGG( COLUMN, ',' [ on overflow (truncate|error) ] [ text ] [ (with|without) count ] ) within...)
 
3번째 줄: 3번째 줄:
 
* Row를 Col로 변경  
 
* Row를 Col로 변경  
 
Syntax (12c 개선)
 
Syntax (12c 개선)
 +
 
<source lang=sql>
 
<source lang=sql>
 +
 
   LISTAGG(
 
   LISTAGG(
 
     COLUMN, ','
 
     COLUMN, ','
9번째 줄: 11번째 줄:
 
     [ text ] [ (with|without) count ]
 
     [ text ] [ (with|without) count ]
 
   ) within group (order by cols)  
 
   ) within group (order by cols)  
<//source>
+
 
 +
</source>

2019년 7월 19일 (금) 09:31 판

thumb_up 추천메뉴 바로가기


ListAgg

  • Row를 Col로 변경

Syntax (12c 개선)

LISTAGG(
    COLUMN, ','
    [ on overflow (truncate|error) ]
    [ text ] [ (with|without) count ]
  ) within group (order by cols)