Method and system for generating database queries containing multiple
levels of aggregation
    1.
    发明授权
    Method and system for generating database queries containing multiple levels of aggregation 失效
    用于生成包含多级聚合的数据库查询的方法和系统

    公开(公告)号:US5713020A

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

    申请号:US116826

    申请日:1993-09-02

    IPC分类号: G06F17/30

    摘要: A method and system for displaying results of multiple level aggregation queries and providing hierarchical table sets in response to multiple level aggregation queries. In a preferred embodiment, a database engine program receives multiple-level aggregation queries from a database front-end program. A multiple level aggregation query defines two or more data aggregation levels. In response to a multiple-level aggregation query, the engine creates a hierarchical table set, which contains a separate table for each level of aggregation specified by the multiple-level aggregation query. Each table in the hierarchical table set contains the aggregation information for one level of the multiple-level aggregation query. In a preferred embodiment, the front-end uses the tables in the hierarchical table set to generate a hierarchical window display that the user can view. The engine preferably also generates a crosstab table having row and column headers which are derived from the data in the source tables by converting a crosstab query into a multi-level aggregation query, executing the multi-level aggregation query, and then retrieve the data for the crosstab table using the hierarchical table set.

    摘要翻译: 一种用于显示多级聚合查询结果并响应多级聚合查询提供分层表集合的方法和系统。 在优选实施例中,数据库引擎程序从数据库前端程序接收多级聚合查询。 多级聚合查询定义了两个或多个数据聚合级别。 响应于多级聚合查询,引擎创建一个分层表集合,其中包含由多级聚合查询指定的每个级别的单独表。 分层表集中的每个表包含多级聚合查询的一级聚合信息。 在优选实施例中,前端使用分层表中的表来生成用户可以查看的分层窗口显示。 引擎还优选地还生成具有行和列标题的交叉表,其通过将交叉表查询转换为多级聚合查询,执行多级聚合查询,然后检索数据,从源表中的数据导出 交叉表使用分层表设置。

    Method and system for accessing a remote database using pass-through
queries
    2.
    发明授权
    Method and system for accessing a remote database using pass-through queries 失效
    使用传递查询访问远程数据库的方法和系统

    公开(公告)号:US5701461A

    公开(公告)日:1997-12-23

    申请号:US379397

    申请日:1995-01-27

    IPC分类号: G06F17/30

    摘要: A method for accessing a database server using pass-through queries includes parsing a database query to separate a pass-through string, and then sending a pass-through string to retrieve information regarding the structure of a remote table. The method further includes fetching data as needed from the remote table, and caching the remote data in a temporary table in memory of the local computer system. The system includes a query processor to compile the database query, a remote engine to retrieve table structure information and fetch data as needed, and a temporary table manager to manage caching of the fetched data.

    摘要翻译: 使用传递查询访问数据库服务器的方法包括解析数据库查询以分离传递字符串,然后发送传递字符串以检索有关远程表的结构的信息。 该方法还包括从远程表获取需要的数据,以及将远程数据缓存在本地计算机系统的存储器中的临时表中。 该系统包括一个用于编译数据库查询的查询处理器,一个用于检索表结构信息并根据需要提取数据的远程引擎,以及一个临时表管理器来管理读取的数据的缓存。

    Method and system for supporting scrollable, updatable database queries
    3.
    发明授权
    Method and system for supporting scrollable, updatable database queries 失效
    支持可滚动,可更新的数据库查询的方法和系统

    公开(公告)号:US5666526A

    公开(公告)日:1997-09-09

    申请号:US649910

    申请日:1996-05-16

    IPC分类号: G06F17/30

    摘要: A method and system for supporting scrollable, updatable database queries is provided. In a preferred embodiment, a database engine receives a query request specifying the retrieval of data from a source table stored by the engine. The engine then generates a query table that contains references to rows of a source table that satisfy the query request. The engine then receives one or more retrieve requests requesting that data specified by the query be provided by the engine. For each retrieval request, the engine retrieves data from the source table using one Or more references from the query table.

    摘要翻译: 提供了一种用于支持可滚动,可更新的数据库查询的方法和系统。 在优选实施例中,数据库引擎接收指定从引擎存储的源表中检索数据的查询请求。 引擎然后生成一个查询表,其中包含对满足查询请求的源表的行的引用。 引擎然后接收一个或多个检索请求,请求由查询提供的数据由引擎提供。 对于每个检索请求,引擎使用查询表中的一个或多个引用从源表检索数据。