PROCESSING SQL STATEMENT IN ALTERNATING MODES
First Claim
1. A method for processing structured query language (SQL) statements of different flavors by a database management system, the method comprising:
- receiving SQL statements of different structured query language (SQL) flavors from one source;
parsing each received SQL statement for identifying an SQL flavor characteristic of the received SQL statements;
tracking an SQL statement identifier of a related SQL PREPARE operation of the received SQL statements for determining the SQL flavor characteristic at subsequent database management system operations referencing the SQL statement identifier;
adapting a database management system mode of the database management system dynamically to the identified SQL flavor characteristic;
adapting another received SQL statement to a database management system mode of the database management system; and
sending each of the adapted SQL statements to the database management system for the SQL PREPARE operation under the adapted database management system mode.
1 Assignment
0 Petitions
Accused Products
Abstract
A Processing method for processing SQL statements of different flavors by a database management system may be provided. The method comprises receiving SQL statements of different SQL flavors, parsing each received SQL statement for identifying an SQL flavor characteristic, tracking an SQL statement identifier of a related SQL PREPARE operation for determining the SQL flavor characteristic at subsequent DMBS operations, adapting a DBMS mode of the DBMS dynamically to the identified SQL flavor characteristic, adapting another received SQL statement to a DBMS mode of the database management system, and sending each of the adapted SQL statements to the DBMS for the SQL PREPARE operation under the adapted database management system mode.
-
Citations
20 Claims
-
1. A method for processing structured query language (SQL) statements of different flavors by a database management system, the method comprising:
-
receiving SQL statements of different structured query language (SQL) flavors from one source; parsing each received SQL statement for identifying an SQL flavor characteristic of the received SQL statements; tracking an SQL statement identifier of a related SQL PREPARE operation of the received SQL statements for determining the SQL flavor characteristic at subsequent database management system operations referencing the SQL statement identifier; adapting a database management system mode of the database management system dynamically to the identified SQL flavor characteristic; adapting another received SQL statement to a database management system mode of the database management system; and sending each of the adapted SQL statements to the database management system for the SQL PREPARE operation under the adapted database management system mode. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 19)
-
-
11. A database management system for processing structured query language (SQL) statements of different flavors, the database management system comprising:
-
a memory having a set of computer readable computer instructions; a processor for executing the set of computer readable instructions; a receiving unit adapted for receiving SQL statements of different structured query language (SQL) flavors from one source; a parser module adapted for parsing each received SQL statement for identifying an SQL flavor characteristic of the received SQL statements; a tracking unit adapted for tracking an SQL statement identifier of a related SQL PREPARE operation of the received SQL statements for determining the SQL flavor characteristic at subsequent relational database management system operations referencing the SQL statement identifier; a first modifying unit adapted for adapting a relational database management system mode of the relational database management system dynamically to the identified SQL flavor characteristic; a second modifying unit adapted adapting another received SQL statement to a relational database management system mode of the relational database management system; and a sending unit adapted for sending each of the adapted SQL statements to the relational database management system for the SQL PREPARE operation under the adapted relational database management system mode. - View Dependent Claims (12, 13, 14, 15, 16, 17, 18)
-
-
20. A computer program product for processing structured query language (SQL) statements of different flavors, the computer program product comprising a computer readable storage medium having program instructions embodied therewith, wherein the computer readable storage medium is not a transitory signal per se, the program instructions executable by a processor to cause the processor to perform a method comprising:
-
receiving SQL statements of different structured query language (SQL) flavors from one source; parsing each received SQL statement for identifying an SQL flavor characteristic of the received SQL statements; tracking an SQL statement identifier of a related SQL PREPARE operation of the received SQL statements for determining the SQL flavor characteristic at subsequent relational database management system operations referencing the SQL statement identifier; adapting a relational database management system mode of the relational database management system dynamically to the identified SQL flavor characteristic; adapting another received SQL statement to a relational database management system mode of the relational database management system; and sending each of the adapted SQL statements to the relational database management system for the SQL PREPARE operation under the adapted relational database management system mode.
-
Specification