发明申请
- 专利标题: Executing CASE Expressions Containing Subqueries
- 专利标题(中): 执行包含子查询的CASE表达式
-
申请号: US13358779申请日: 2012-01-26
-
公开(公告)号: US20130198164A1公开(公告)日: 2013-08-01
- 发明人: Qi Cheng , John F. Hornibrook , Jose A. Saborit , David C. Sharpe , Calisto P. Zuzarte
- 申请人: Qi Cheng , John F. Hornibrook , Jose A. Saborit , David C. Sharpe , Calisto P. Zuzarte
- 申请人地址: US NY Armonk
- 专利权人: INTERNATIONAL BUSINESS MACHINES CORPORATION
- 当前专利权人: INTERNATIONAL BUSINESS MACHINES CORPORATION
- 当前专利权人地址: US NY Armonk
- 主分类号: G06F17/30
- IPC分类号: G06F17/30
摘要:
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.
公开/授权文献
- US08626744B2 Executing CASE expressions containing subqueries 公开/授权日:2014-01-07
信息查询