例: XMLCOMMENTを使用したコメント ノードの作成 - Teradata Database - Teradata Vantage NewSQL Engine - XMLCOMMENT関数の使用法を示す例。

Teradata Vantage™ XMLデータ型

Product
Teradata Database
Teradata Vantage NewSQL Engine
Release Number
16.20
Published
2019年3月
Language
日本語
Last Update
2019-10-29
dita:mapPath
ja-JP/jki1512081750759.ditamap
dita:ditavalPath
ja-JP/jki1512081750759.ditaval
dita:id
B035-1140
Product Category
Software
Teradata Vantage

この後に示す問合わせでは、シリアル化が
<!--The orders following this comment will be shipped the next day-->のようになる単一のコメント ノードを伴うシーケンスが返されます。

SELECT XMLCOMMENT('The orders following this comment will be shipped the next day');

問合わせの結果:

XMLCOMMENT('The orders following this comment will be shipped the next day')
----------------------------------------------------------------------------
<!--The orders following this comment will be shipped the next day-->