Invention Grant
- Patent Title: Executing CASE expressions containing subqueries
- Patent Title (中): 执行包含子查询的CASE表达式
-
Application No.: US13358779Application Date: 2012-01-26
-
Publication No.: US08626744B2Publication Date: 2014-01-07
- Inventor: Qi Cheng , John F. Hornibrook , Jose A. Saborit , David C. Sharpe , Calisto P. Zuzarte
- Applicant: Qi Cheng , John F. Hornibrook , Jose A. Saborit , David C. Sharpe , Calisto P. Zuzarte
- Applicant Address: US NY Armonk
- Assignee: International Business Machines Corporation
- Current Assignee: International Business Machines Corporation
- Current Assignee Address: US NY Armonk
- Agency: Mollborn Patents, Inc.
- Agent Fredrik Mollborn
- Main IPC: G06F7/00
- IPC: G06F7/00 ; G06F17/30

Abstract:
Methods and apparatus, including computer program products, implementing and using techniques for executing a query in a computer to retrieve data from a relational database stored on a data storage device. A query is received that contains a CASE expression having one or more subqueries. A query execution plan is generated. The query execution plan uses a parameterized union all operator to keep the semantics of the CASE expression, and a nested loop join operator to drive data across the section of the query execution plan that executes the CASE expression without performing any join operations. The generated query execution plan is executed in the computer to retrieve data from the relational database.
Public/Granted literature
- US20130198164A1 Executing CASE Expressions Containing Subqueries Public/Granted day:2013-08-01
Information query