例: XMLCOMMENTを使用したコメント ノードの作成 - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - XMLデータ型

Product
Advanced SQL Engine
Teradata Database
Release Number
17.05
17.00
Published
2020年6月
Language
日本語
Last Update
2021-03-30
dita:mapPath
ja-JP/amr1556233250442.ditamap
dita:ditavalPath
ja-JP/amr1556233250442.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-->