首页> 外国专利> RUN-TIME SQL LANGUAGE TRANSLATION

RUN-TIME SQL LANGUAGE TRANSLATION

机译:运行时SQL语言翻译

摘要

A method, system, and computer program product for database application migration. The method commences upon executing a foreign application, the foreign application emits SQL statements of a foreign SQL dialect that is incompatible with the SQL dialect of a native database system. The system configures a communication session to intercept the foreign SQL statements before the foreign SQL statements are received by the SQL parser of the native database system; and, while the foreign application is waiting for query results, the system translates the foreign dialect query statements into native SQL compatible with the native database system. The method further performs translating a return code from the native database system into a return code compatible with the foreign application. Configuring the database session connection comprises establishing a translation profile to translate foreign dialect SQL into native SQL, and to translate native SQL query return codes into foreign dialect return codes.
机译:一种用于数据库应用程序迁移的方法,系统和计算机程序产品。该方法在执行外部应用程序时开始,外部应用程序发出与本地数据库系统的SQL方言不兼容的外部SQL方言的SQL语句。系统将通信会话配置为在本机数据库系统的SQL解析器接收到外部SQL语句之前拦截外部SQL语句;当外部应用程序正在等待查询结果时,系统会将外部方言查询语句转换为与本机数据库系统兼容的本机SQL。该方法还执行将来自本地数据库系统的返回码转换为与外部应用程序兼容的返回码。配置数据库会话连接包括建立转换配置文件,以将外部方言SQL转换为本地SQL,并将本地SQL查询返回码转换为外部方言返回码。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号