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 服务器 - SQL 的用法 » 查询处理 » 查询优化与执行 » [查询执行] 算法 » 算法类型 » 查询表达式算法

 

UnionAll 算法 (UA)

UnionAll 从其每一项输入中读取行并将这些行输出,而不管是否有重复项。该算法用于实现 UNION 和 UNION ALL 子句。在 UNION 子句中,需要使用重复排除算法(如 HashDistinct 或 OrderedDistinct)来删除 UnionAll 所生成的任何重复项。

请参见HashDistinct 算法 (DistH)OrderedDistinct 算法 (DistO)