Transparent parameter marker support for a relational database over a network
First Claim
1. A method for retrieving data from a database over a network, comprising the steps of:
- (a) generating an executable statement at a gateway in accordance with a macro language file, wherein the executable statement comprises one or more parameter markers;
(b) passing the executable statement comprising the parameter markers from the gateway to database software, wherein one or more variables can be found to each parameter marker;
(c) passing a value for each parameter marker from the gateway to the database software; and
(d) sending a request from the gateway to the database software to execute the executable statement, wherein each parameter marker is substituted for its value when the executable statement is executed.
3 Assignments
0 Petitions
Accused Products
Abstract
A method and system for retrieving data from a database over a network includes: generating an executable statement at a gateway in accordance with a macro language file, where the executable statement comprises one or more a parameter markers; passing the executable statement from the gateway to database software; and passing a value for each parameter marker from the gateway to the database software. The present invention allows the Net.Data gateway to support parameter markers in place of Net.Data variables. This allows the Net.Data gateway to take advantage of the dynamic Structured Query Language (SQL) statement caching feature available with conventional database systems. With the use of this invention, the execution of the SQL statements occurs more rapidly, saving resources and improving performance. Additionally, the Net.Data variables may be automatically replaced with parameter markers, with the Net.Data variables and their values maintained. This provides transparent support for parameter markers.
22 Citations
34 Claims
-
1. A method for retrieving data from a database over a network, comprising the steps of:
-
(a) generating an executable statement at a gateway in accordance with a macro language file, wherein the executable statement comprises one or more parameter markers;
(b) passing the executable statement comprising the parameter markers from the gateway to database software, wherein one or more variables can be found to each parameter marker;
(c) passing a value for each parameter marker from the gateway to the database software; and
(d) sending a request from the gateway to the database software to execute the executable statement, wherein each parameter marker is substituted for its value when the executable statement is executed. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
(a1) determining if a status variable for a statement in the macro language file indicates that variable replacement should occur;
(a2) automatically replacing each variable in the statement with a parameter marker if the status variable indicates that variable replacement should occur; and
(a3) maintaining each variable and a value for each variable.
-
-
9. The method of claim 8, wherein each variable comprises a Net.Data variable.
-
10. A system, comprising:
a gateway capable of being coupled to a database server, having database software further comprising a first process for generating an executable statement in accordance with a macro language file wherein the executable statement comprises one or more parameter markers, a second process for passing the executable statement comprising the parameter markers to the database software, wherein one or more variables can be found to each parameter marker and a third process for passing a value for each parameter marker to the database software, wherein each parameter marker is substituted for its value when the executable statement is executed. - View Dependent Claims (11, 12, 13, 14, 15, 16, 17, 18)
-
19. A method for retrieving data from a database over a network, comprising the steps of:
-
(a) determining if a status variable for a statement in a macro language file in a gateway indicates that variable replacement should occur;
(b) automatically replacing each variable in the statement with a parameter marker if the status variable indicates that variable replacement should occur;
(c) maintaining each variable and a value for each variable;
(d) generating an executable statement comprising the parameter marker for each variable at the gateway in accordance with the statement in the macro language file;
(e) passing the executable statement comprising the parameter marker for each variable to database software wherein one or more variables can he found to the parameter marker;
(f) passing a value for each parameter marker to the database software; and
(g) sending a request from the gateway to the database software to execute the executable statement, wherein each parameter marker is substituted for its value when the executable statement is executed. - View Dependent Claims (20, 21, 22, 23)
-
-
24. A computer readable medium with program instructions for retrieving data from a database over a network, the instructions for:
-
(a) generating an executable statement at a gateway in accordance with a macro language file, wherein the executable statement comprises one or more parameter markers;
(b) passing the executable statement comprising the parameter markers from the gateway to database software, wherein one or more variables can be found to each parameter marker;
(c) passing a value for each parameter marker from the gateway to the database software; and
(d) sending a request from the gateway to the database software to execute the executable statement, wherein each parameter marker is substituted for its value by the database software when the executable statement is executed.
-
-
25. A computer readable medium with program instructions for retrieving data from a database over a network, the instructions for:
-
(a) determining if a status variable for a statement in a macro language file in a gateway indicates that variable replacement should occur;
(b) automatically replacing each variable in the statement with a parameter marker if the status variable indicates that variable replacement should occur;
(c) maintaining each variable and a value for each variable;
(d) generating an executable statement comprising the parameter marker for each variable at the gateway in accordance with the macro language file;
(e) passing the executable statement comprising the parameter marker for each variable to a database software, wherein one or more variables can be found to the parameter marker;
(f) passing a value for each parameter marker to the database software; and
(g) sending a request from the gateway to the database software to execute the executable statement, wherein each parameter marker is substituted for its value by the database software when the executable statement is executed.
-
-
26. A system, comprising:
-
means for generating an executable statement at a gateway in a network in accordance with a macro language file, wherein the executable statement comprises one or more parameter markers;
means for passing the executable statement comprising the parameter markers to database software, wherein one or more variables can be found to each parameter marker;
means for passing a value for each parameter marker to the database software; and
means for sending a request from the gateway to the database software to execute the executable statement, wherein each parameter marker is substituted for its value by the database software when the executable statement is executed.
-
-
27. A system, comprising:
-
means for determining if a status variable for a statement in a macro language file in a gateway indicates that variable replacement should occur;
means for automatically replacing each variable in the statement with a parameter marker if the status variable indicates that variable replacement should occur;
means for maintaining each variable and a value for each variable;
means for generating an executable statement comprising the parameter marker for each variable at the gateway in accordance with the macro language file;
means for passing the executable statement comprising the parameter marker for each variable to a database software, wherein one or more variables can be found to the parameter marker;
means for passing a value for each parameter marker to the database software; and
means for sending a request from the gateway to the database software to execute the executable statement, wherein each parameter marker is substituted for its value by the database software when the executable statement is executed.
-
-
28. A method for retrieving data from a database over a network, comprising the steps of:
-
(a) generating a dynamic Structured Query Language (SQL) statement at a gateway in accordance with a macro language file, wherein the dynamic SQL statement comprises one or more parameter markers;
(b) passing the dynamic SQL statement comprising the parameter markers from the gateway to database software;
(c) passing a value for a variable bound to each parameter marker in the dynamic SQL statement from the gateway to the database software; and
(d) sending a request from the gateway to the database software to execute the dynamic SQL statement, wherein each parameter marker is substituted for its value when the dynamic SQL statement is executed.
-
-
29. A system, comprising:
a gateway capable of being coupled to a database server, having database software further comprising a first process for generating a dynamic Structure Query Language (SQL) statement in accordance with a macro language file wherein the dynamic SQL statement comprises one or more parameter markers, a second process for passing the dynamic SQL statement comprising the parameter markers to the database software, and a third process for passing a value for a variable bound to each parameter marker in the dynamic SQL statement to the database software, wherein each parameter marker is substituted for its value when the dynamic SQL statement is executed.
-
30. A method for retrieving data from a database over a network, comprising the steps of:
-
(a) determining if a status variable for a statement in a macro language file in a gateway indicates that variable replacement should occur;
(b) automatically replacing each variable in the statement with a parameter marker if the status variable indicates that variable replacement should occur;
(c) maintaining each variable and a value for each variable;
(d) generating a dynamic Structure Query Language (SQL) statement comprising the parameter marker for each variable at the gateway in accordance with the statement in the macro language file;
(e) passing the dynamic SQL statement comprising the parameter marker for each variable to database software;
(f) passing a value for each variable for each parameter marker to the database software; and
(g) sending a request from the gateway to the database software to execute the dynamic SQL statement, wherein each parameter marker is substituted for its value when the dynamic SQL statement is executed.
-
-
31. A computer readable medium with program instructions for retrieving data from a database over a network, the instructions for:
-
(a) generating a dynamic Structure Query Language (SQL) statement at a gateway in accordance with a macro language file, wherein the dynamic SQL statement comprises one or more parameter markers;
(b) passing the dynamic SQL statement comprising the parameter markers from the gateway to database software;
(c) passing a value for a variable for each parameter marker from the gateway to the database software; and
(d) sending a request from the gateway to the database software to execute the dynamic SQL statement, wherein each parameter marker is substituted for its value by the database software when the dynamic SQL statement is executed.
-
-
32. A computer readable medium with program instructions for retrieving data from a database over a network, comprising the instructions for:
-
(a) determining if a status variable for a statement in a macro language file in a gateway indicates that variable replacement should occur;
(b) automatically replacing each variable in the statement with a parameter marker if the status variable indicates that variable replacement should occur;
(c) maintaining each variable and a value for each variable;
(d) generating a dynamic Structure Query Language (SQL) statement comprising the parameter marker for each variable at the gateway in accordance with the statement in the macro language file;
(e) passing the dynamic SQL statement comprising the parameter marker for each variable to database software;
(f) passing a value for each variable for each parameter marker to the database software; and
(g) sending a request from the gateway to the database software to execute the dynamic SQL statement, wherein each parameter marker is substituted for its value when the dynamic SQL statement is executed.
-
-
33. A system, comprising:
-
means for generating a dynamic Structured Query Language (SQL) at a gateway in a network in accordance with a macro language file, wherein the dynamic SQL statement comprises one or more parameter markers;
means for passing the dynamic SQL statement comprising the parameter markers to database software;
means for passing a value for a variable for each parameter marker to the database software; and
means for sending a request from the gateway to the database software to execute the dynamic SQL statement, wherein each parameter marker is substituted for its value by the database software when the dynamic SQL statement is executed.
-
-
34. A system, comprising:
-
means for determining if a status variable for a statement in a macro language file in a gateway indicates that variable replacement should occur;
means for automatically replacing each variable in the statement with a parameter marker if the status variable indicates that variable replacement should occur;
means for maintaining each variable and a value for each variable;
means for generating a dynamic Structure Query Language (SQL) statement comprising the parameter marker for each variable at the gateway in accordance with the macro language file;
means for passing the dynamic SQL statement comprising the parameter marker for each variable to a database software;
means for passing a value for a variable for each parameter marker to the database software; and
means for sending a request from the gateway to the database software to execute the dynamic SQL statement, wherein each parameter marker is substituted for its value by the database software when the dynamic SQL statement is executed.
-
Specification