发明名称 Modifying structured query language statements
摘要 An approach is provided to modifying structured query language (SQL) statements to more efficient forms. In the approach, an SQL statement is received and compared to a number of predefined malformation rules with at least one of the predefined malformation rules includes a syntactical pattern. If the comparison reveals that the received SQL statement includes a malformed expression that would be inefficiently processed by a database engine, the malformed expression is modified to an efficient SQL expression form and the efficient SQL expression form is executed by the database engine.
申请公布号 US8856102(B2) 申请公布日期 2014.10.07
申请号 US201213671446 申请日期 2012.11.07
申请人 International Business Machines Corporation 发明人 Ramsay Dexter F.
分类号 G06F17/30 主分类号 G06F17/30
代理机构 VanLeeuwen & VanLeeuwen 代理人 VanLeeuwen & VanLeeuwen ;Flynn John. D.
主权项 1. A method of modifying structured query language (SQL) statements, the method, implemented by an information handling system, comprising: receiving an SQL statement; comparing the received SQL statement to a plurality of predefined malformation rules, wherein at least one of the predefined malformation rules includes a syntactical pattern; determining that the received SQL statement includes a malformed expression, wherein the malformed expression is inefficiently handled by a database engine; and modifying the malformed expression to an efficient SQL expression form in response to the determination, wherein the modifying comprises: retrieving one or more numerical methods and mathematical principles; and applying the retrieved numerical methods and mathematical principles to the malformed expression to create the efficient SQL expression form.
地址 Armonk NY US