Invention Grant
US08612422B2 Method, system and program product for rewriting structured query language (SQL) statements 失效
用于重写结构化查询语言(SQL)语句的方法,系统和程序产品

Method, system and program product for rewriting structured query language (SQL) statements
Abstract:
A method and system for rewriting Structured Query Language (SQL) statements. A SQL statement having search criteria including conditions pertaining to fields in database tables is received. A table from the SQL statement listing all combinations of the search criteria is created, every combination reflecting a subset of information used to determine combined results. A set of patterns among the possible combinations of the SQL statement based on the fields referenced in the combinations is identified. The table based on the set of patterns is sorted. Based on the sorting, the table is divided into temporary tables which are joined with the SQL statement. New temporary tables are generated. Each new temporary table includes results of a search conducted using a separate portion of the SQL statement as joined with the set of temporary tables. All results from the new temporary tables are combined into a single result table.
Information query
Patent Agency Ranking
0/0