この後に示す問合わせでは、シリアル化が <!--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-->