Tool for converting SQL queries into portable ODBC
First Claim
1. A method for converting Structure Queried Language (SQL) queries into an Open Database Connectivity (ODBC) standard comprising the steps of:
- parsing a source code to identify one or more keywords;
identifying an SQL statement based on said one or more keywords;
matching said SQL statement with a function, wherein said function is associated with one or more ODBC calls; and
substituting said SQL statement with a call to said function.
1 Assignment
0 Petitions
Accused Products
Abstract
A method, computer program product and system for converting Structured Query Language (SQL) statements into the Open Database Connectivity (ODBC) standard. The source code of a database application may be parsed to identify one or more keywords. These keywords may be used to identify SQL statements as well as variables that are used to process the SQL statements. Upon identifying the SQL statements, the SQL statements may be evaluated. The SQL statements evaluated may then be matched with particular functions in a function library, i.e., a collection of functions stored in data files. These functions may implement particular ODBC calls thereby enabling SQL statements to be converted into the ODBC standard. A function call, i.e., a call to that function, may be substituted for the corresponding SQL statement. The function call may then be implemented resulting in the execution of the ODBC calls.
-
Citations
27 Claims
-
1. A method for converting Structure Queried Language (SQL) queries into an Open Database Connectivity (ODBC) standard comprising the steps of:
-
parsing a source code to identify one or more keywords;
identifying an SQL statement based on said one or more keywords;
matching said SQL statement with a function, wherein said function is associated with one or more ODBC calls; and
substituting said SQL statement with a call to said function. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A computer program product having a computer readable medium having computer program logic recorded thereon for converting Structure Queried Language (SQL) queries into an Open Database Connectivity (ODBC) standard, comprising:
-
programming operable for parsing a source code to identify one or more keywords;
programming operable for identifying an SQL statement based on said one or more keywords;
programming operable for matching said SQL statement with a function, wherein said function is associated with one or more ODBC calls; and
programming operable for substituting said SQL statement with a call to said function. - View Dependent Claims (11, 12, 13, 14, 15, 16, 17, 18)
-
-
19. A system, comprising:
-
a processor;
a memory unit operable for storing a computer program operable for converting Structure Queried Language (SQL) queries into an Open Database Connectivity (ODBC) standard;
an input mechanism;
an output mechanism; and
a bus system coupling the processor to the memory unit, input mechanism, and output mechanism, wherein the computer program is operable for performing the programming steps;
parsing a source code to identify one or more keywords;
identifying an SQL statement based on said one or more keywords;
matching said SQL statement with a function, wherein said function is associated with one or more ODBC calls; and
substituting said SQL statement with a call to said function. - View Dependent Claims (20, 21, 22, 23, 24, 25, 26, 27)
-
Specification