×

Evaluation strategy for execution of SQL queries involving recursion and table queues

  • US 5,546,570 A
  • Filed: 02/17/1995
  • Issued: 08/13/1996
  • Est. Priority Date: 02/17/1995
  • Status: Expired due to Fees
First Claim
Patent Images

1. A method of executing an SQL query in a computer having a memory, the SQL query being executed by the computer to retrieve data from a relational database stored in a electronic storage device coupled to the computer, the method comprising the steps of:

  • (a) establishing a table queue for the query in the memory of the computer;

    (b) retrieving desired tuples from the relational database stored in the electronic storage device coupled to the computer;

    (c) storing the retrieved tuples into the table queue in the memory of the computer;

    (d) retrieving the stored tuples from the table queue in the memory of the computer, wherein the retrieved tuples are operated on in accordance with the query;

    (e) generating a first end-of-file indication in the memory of the computer when all of the tuples stored in the table queue have been retrieved; and

    (f) generating a second end-of-file indication in the memory of the computer after the first end-of-file indication has been generated when all of the desired tuples stored in the relational database have been retrieved.

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