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

SQL Anywhere 11.0.1 (中文) » QAnywhere » QAnywhere 参考 » 服务器管理请求参考 » 服务器管理请求父标记

 

CustomRule 标记

要构造更复杂的条件语句,请使用 <customRule> 标记作为 <condition> 标记(和其它标记)的子标记。此标记使用类似用于服务器传输规则的服务器规则作为其数据。可以采用构造传输规则的条件部分的方式构造这些查询。请参见条件语法

示例

以下 condition 在选择消息时依据的搜索条件是:优先级设置为 4;发出方名称类似 '%sender%';状态大于等于 20。

<condition>
 <priority>4</priority>
 <customRule>ias_Originator LIKE '%sender%' AND ias_Status &gt;= 20</customRule>
</condition>