发明名称 A METHOD AND DEVICE FOR TRANSLATING DATABASE LANGUAGE
摘要 The embodiment of the invention discloses a method and a device for translating database language; a method for pre-setting and storing the translation logic comprises the following steps: acquiring source SQL (Structured Query Language) code, source SQL database type and object SQL database type; compiling the source SQL code, acquiring the key word and the grammar logic in the source SQL code; searching the translation logic according to the source SQL database type and the object SQL database type, acquiring the key word and the grammar logic in the object SQL database corresponding to thecompiled key word and grammar logic; and acquiring other codes in the key word and the source SQL code except the key word according to the grammar logic composition in the object SQL database, and generating the object SQL code. The source SQL code can be automatically translated into the object SQL code according to the translation logic, thereby improving the developing efficiency of the database and reducing the load of the developer.
申请公布号 HK1153017(A1) 申请公布日期 2014.02.21
申请号 HK20110107091 申请日期 2011.07.08
申请人 ALIBABA GROUP HOLDING LIMITED 发明人 YANG, BAIGANG
分类号 G06F 主分类号 G06F
代理机构 代理人
主权项
地址