×

Multi-part looked-up table field and its use to in data processing operations involving multiple tables of a relational database

  • US 6,988,094 B2
  • Filed: 10/25/2001
  • Issued: 01/17/2006
  • Est. Priority Date: 10/25/2001
  • Status: Active Grant
First Claim
Patent Images

1. A method comprising:

  • parsing a data processing statement;

    identifying table field or fields referenced in said data processing statement;

    for each identified table field, determining whether the table field is a looked-up field;

    identifying a basis table of which non-looked up ones of said identified table field or fields are members;

    identifying one or more target tables from which said looked-up one or ones of said identified table field or fields are to be looked up;

    generating a SQL statement, including with said generated SQL statement field or fields to be selected from said basis table and a FROM clause enumerating said basis table, and if the data processing statement was determined to contain one or more fields to be looked up from one or more target tables, further including among said field or fields to be selected said one or more fields to be looked up from said one or more target tables, and one or more JOIN clauses respectively joining said basis table and said one or more target tables, and one or more corresponding ON clauses respectively specifying one or more corresponding conditions on which rows of said basis and said one or more target tables are to be joined, each of said one or more conditions comprising a corresponding look-up field.

View all claims
  • 3 Assignments
Timeline View
Assignment View
    ×
    ×