5. The method of claim 1 further comprising: performing the comparison prior to: creating a database access path to one or more database objects referenced in the SQL statement in response to a determination that the SQL statement does not include any malformed SQL expression; and executing the SQL statement against the database objects using the created database access path.
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.