IP Library Granted Patent US 7,260,569
Granted Patent B1
US 7,260,569 · App. 10/081,079 · Granted Aug 21, 2007

Evaluating expressions in stored procedures

View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 7,260,569
App. No.
10/081,079
Granted
Aug 21, 2007
Kind
B1
Abstract

A database system includes components for executing stored procedures that include at least one of a conditional expression, assignment expression, and dynamic database query language (e.g., SQL) statement. For each such expression, a predetermined type of code is generated and inserted into the object code corresponding to the stored procedure. When executing the stored procedure object code, the predetermined type of code is evaluated directly without having to generate a separate database query language statement.

Claims (10)

1. A database system comprising:

a plurality of nodes;

an evaluator module in a first one of the plurality of nodes;

an access module in a second one of the plurality of nodes, the access module to manage access to a portion of data stored in the database system; and

a controller in the first node adapted to execute a stored procedure object code, the object code containing a first type of code to represent an expression that is one of a conditional expression, an assignment expression, and a dynamic statement, the object code containing a second, different type of code to represent a database query language statement,

the controller adapted to submit the first type of code to the evaluator module to evaluate the expression, and

the controller adapted to submit a command corresponding to the database query language statement to the access module.

2. The database system of claim 1 , wherein the controller comprises a parsing engine.

3. The database system of claim 1 , wherein the first type code comprises machine-level code.

4. The database system of claim 1 , wherein the first type code contains information identifying a type of the expression and a variable and constant used by the expression.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Mar 18, 2008
From: NCR CORPORATION
To: TERADATA US, INC.
Reel/Frame 020666/0438 →