Patent · US Expired

Supporting dynamic tables in SQL query compilers

US5930795A · kind A · utility

105Cited by
4References
41Claims
0Family size

Assignee

Inventors

Key dates

Filing dateJan 21, 1997
Grant dateJul 27, 1999
Priority date
Expiry dateJan 21, 2017

Classification

  • Technology area (CPC G)Physics
  • CPC primaryG06F16/24549
  • WIPO fieldComputer technology
  • WIPO sectorElectrical engineering

Abstract

A framework for a query compiler and run-time environment for resolving a table reference to a dynamic table that is first identified at run-time but is initially unknown at compile-time. A parser parses the table reference and creates a parsed representation for the table that identifies the type of dynamic table. A code generator creates executable plans containing run-time table object representations (TAOB), from the parsed representations, that contain the type of dynamic table. The TAOB is also extended to provide for parameters that are definable at run-time, including a table ID of the actual table entity being referenced. A routine is embedded in a run-time routine that checks the type of dynamic table in the TAOB and dispatches control to one of a plurality of corresponding routines, depending upon the type of dynamic table. The corresponding routines use the extended TAOB to dynamically link the table reference to the dynamic table, depending upon the type of dynamic table. Once the dynamic table has been linked to the table reference, query processing continues as if that table were a base or derived table.

Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.