An apparatus and method optimize a UNION-type query, where the query has common components on both sides of the UNION-type operator. The UNION-type expression is analyzed to determine if the expression can be optimized, and if so, common portions on both sides of the UNION-type expression are extracted and the expression is reformulated so the common portions on both sides of the union expression are only run one time.

 
Web www.patentalert.com

< Apparatus and method for selecting a subset of report templates based on specified criteria

> System and method for tree structure indexing that provides at least one constraint sequence to preserve query-equivalence between xml document structure match and subsequence match

~ 00493