首页> 外国专利> Computer-based information access method and apparatus to permit SQL-based manipulation of programming language-specific data files

Computer-based information access method and apparatus to permit SQL-based manipulation of programming language-specific data files

机译:基于计算机的信息访问方法和装置,允许对编程语言特定的数据文件进行基于SQL的操作

摘要

A method and apparatus that permits creation, reading and modification of 3GL application programs by SQL requests. A catalog is created by selecting source programs from 3GL application data for which file definitions are to be extracted, identifying specific files within the selected source programs to be processed, extracting appropriate schema from the selected files, and recording the appropriate schema in a catalog. Once the 3GL-specific data schema contained in the application source has been extracted and stored in the catalog, the relational database which is to be based upon the data represented by the 3GL schema is defined and stored in the system catalog so that tables in the relational database may be accessed by a runtime SQL database engine. Further, both 3GL data and relational database data may be modified and maintained with a single tool set. After the catalog is created, the invention uses the catalog to process SQL requests in order to access the relational database representation of the 3GL data by parsing the SQL query request, generating a set of possible execution plans for manipulating the relational form of the data, selecting an optimal plan based upon information provided from the system catalog, and executing the plan by servicing the SQL request for relational data from the underlying 3GL data files described in the system catalog.
机译:一种允许通过SQL请求创建,读取和修改3GL应用程序的方法和装置。通过从3GL应用程序数据中选择要为其提取文件定义的源程序,在选定要处理的选定源程序中标识特定文件,从选定文件中提取适当的模式并将适当的模式记录在目录中来创建目录。一旦提取了应用程序源中包含的3GL特定数据模式并将其存储在目录中,就将基于3GL模式表示的数据定义关系数据库并将其存储在系统目录中,以便运行时SQL数据库引擎可以访问关系数据库。此外,可以使用单个工具集修改和维护3GL数据和关系数据库数据。在创建目录之后,本发明使用目录来处理SQL请求,以便通过解析SQL查询请求来访问3GL数据的关系数据库表示,生成一组可能的执行计划以操纵数据的关系形式,根据系统目录中提供的信息选择最佳计划,并通过服务系统目录中描述的基础3GL数据文件中的关系数据的SQL请求来执行计划。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号