Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.1 (中文) » SQL Anywhere 服务器 - 数据库管理 » 配置数据库 » 数据库选项 » 数据库选项简介 » 按字母顺序排列的选项列表

 

for_xml_null_treatment 选项 [数据库]

控制对使用 FOR XML 子句的查询中的 NULL 值的处理。

允许值

Empty、Omit

缺省

Omit

注释

执行包含 FOR XML 子句的查询时,for_xml_null_treatment 选项决定 NULL 值的处理方式。缺省情况下,结果中会忽略包含 NULL 值的元素和属性。将此选项设置为 Empty 会在值为 NULL 时生成空元素或属性。

另请参见