Using global temporary tables to transform queries
    1.
    发明授权
    Using global temporary tables to transform queries 有权
    使用全局临时表来转换查询

    公开(公告)号:US06684203B1

    公开(公告)日:2004-01-27

    申请号:US09436053

    申请日:1999-11-08

    IPC分类号: G06F1730

    摘要: A technique and mechanism for transforming a query is described. A given query is transformed into a transformed query that references a global temporary table. Specifically, the given query contains a join between a given table and one or more other tables referenced by constraints (e.g. predicates). References to one or more of the constrained tables are replaced by a reference to a global temporary table. Before executing the transformed query, data that satisfies the constraints placed on the constrained table is inserted into the global temporary table.

    摘要翻译: 描述了用于转换查询的技术和机制。 给定的查询被转换为引用全局临时表的转换查询。 具体来说,给定的查询包含一个给定表和一个或多个由约束引用的其他表(例如谓词)之间的连接。 对一个或多个受约束的引用由对全局临时表的引用替代。 在执行转换查询之前,将满足约束表上约束的数据插入到全局临时表中。