发明授权
- 专利标题: Supporting dynamic tables in SQL query compilers
- 专利标题(中): 在SQL查询编译器中支持动态表
-
申请号: US786603申请日: 1997-01-21
-
公开(公告)号: US5930795A公开(公告)日: 1999-07-27
- 发明人: Yao-Ching Stephen Chen , Jyh-Herng Chow , Roberta Jo Cochrane , Gene Y.C. Fuh , Nelson Mendonca Mattos , Mir Hamid Pirahesh , Jeffrey D. Richey , Brian Thinh-Vinh Tran , Tuong Chanh Truong
- 申请人: Yao-Ching Stephen Chen , Jyh-Herng Chow , Roberta Jo Cochrane , Gene Y.C. Fuh , Nelson Mendonca Mattos , Mir Hamid Pirahesh , Jeffrey D. Richey , Brian Thinh-Vinh Tran , Tuong Chanh Truong
- 申请人地址: NY Armonk
- 专利权人: International Business Machines Corporation
- 当前专利权人: International Business Machines Corporation
- 当前专利权人地址: NY Armonk
- 主分类号: G06F17/30
- IPC分类号: G06F17/30
摘要:
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.
公开/授权文献
- US4662675A Folding seats, benches and tables 公开/授权日:1987-05-05
信息查询