×

Compile-time optimizations of queries with SQL spreadsheet

  • US 7,177,855 B2
  • Filed: 11/06/2003
  • Issued: 02/13/2007
  • Est. Priority Date: 06/20/2001
  • Status: Expired due to Term
First Claim
Patent Images

1. A method for determining orders for evaluating sets of formulas defined by queries, the method comprising the steps of:

  • examining a query;

    wherein said query evaluates to a relation;

    wherein the query defines an array and a set of formulas that reference the array;

    wherein the array has one or more dimensions that correspond to columns of the relation;

    wherein a subset of formulas of the set of formulas require cells corresponding to a range of values of said dimension;

    grouping, based on one or more criteria, the set of formulas into groups of formulas,wherein the groups are associated with an order, andwherein said one or more criteria include that, for each group of said groups of formulas, evaluation of any formula in said each group does not depend;

    on another formula in said each group, andon another formula in a group higher in said order than said each group; and

    evaluating in said order each group of said groups of formulas.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×