説明
XMLCONCATは、一連のXMLTypeインスタンスを入力として受け取り、各行の一連の要素を結合し、結合後のXMLTypeシーケンスを返します。
構文
XMLCONCAT (XMLType_instance [, XMLType_instance ]...)
パラメータの説明
| フィールド | 説明 |
|---|---|
| XMLType_instance | 1つまたは複数のXMLインスタンス。 |
戻り値のタイプ
XMLTypeの結合後のシーケンス。
例
# 2つのXMLTypeインスタンスを結合する
obclient> select XMLCONCAT(xmltype('<testinfo a="0"> <e1>111</e1> </testinfo>'), xmltype('<testinfo a="1"> <e1>111</e1> </testinfo>')) from dual;
<testinfo a="0"> <e1>111</e1> </testinfo><testinfo a="1"> <e1>111</e1> </testinfo>