Accessing a relational database over the Internet using macro language files
First Claim
Patent Images
1. A method for executing Structured Query Language (SQL) queries in a computer-implemented relational database management system via a network, comprising the steps of:
- (a) transmitting a HyperText Markup Language (HTML) input form to a browser executed by a client computer in the network for display on a monitor attached thereto;
(b) receiving a HyperText Transfer Protocol (HTTP) request from the browser to access the relational database, wherein the request includes data entered by the user into the HTML input form;
(c) substituting the data entered by the user into the HTML input form into a dynamic SQL query using a common name space, wherein the common name space comprises variables found in both the dynamic SQL query and the HTML input form;
(d) transmitting the SQL query to a relational database management system for execution;
(e) receiving an output table from the relational database management system in response to the transmitted SQL query;
(f) merging the output table from the relational database management system into an HTML report form; and
(g) transmitting the HTML report form to the browser for display on the monitor attached to the client computer.
3 Assignments
0 Petitions
Accused Products
Abstract
The present invention discloses a method and apparatus for executing SQL queries in a relational database management system via the World Wide Web of the Internet. In accordance with the present invention, Web users can request information from RDBMS software via HTML input forms, which request is then used to create an SQL statement for execution by the RDBMS software. The results output by the RDBMS software are themselves transformed into HTML format for presentation to the Web user.
-
Citations
12 Claims
-
1. A method for executing Structured Query Language (SQL) queries in a computer-implemented relational database management system via a network, comprising the steps of:
-
(a) transmitting a HyperText Markup Language (HTML) input form to a browser executed by a client computer in the network for display on a monitor attached thereto; (b) receiving a HyperText Transfer Protocol (HTTP) request from the browser to access the relational database, wherein the request includes data entered by the user into the HTML input form; (c) substituting the data entered by the user into the HTML input form into a dynamic SQL query using a common name space, wherein the common name space comprises variables found in both the dynamic SQL query and the HTML input form; (d) transmitting the SQL query to a relational database management system for execution; (e) receiving an output table from the relational database management system in response to the transmitted SQL query; (f) merging the output table from the relational database management system into an HTML report form; and (g) transmitting the HTML report form to the browser for display on the monitor attached to the client computer. - View Dependent Claims (2, 3, 4)
-
-
5. A method of variable substitution in a macro language file, comprising the steps of:
-
(a) reading a macro language file containing both Structured Query Language (SQL) and HyperText Markup Language (HTML) statements; (b) parsing each of the SQL and HTML statements to identify definitions and uses of variables in the SQL and HTML statements; and (c) substituting values assigned to the variables from the definitions of the variables to the uses of the variables at the time that the SQL and HTML statements are processed. - View Dependent Claims (6, 7)
-
-
8. A method of creating a macro language file, comprising the steps of:
-
(a) creating a macro language file to contain both Structured Query Language (SQL) statements and HyperText Markup Language statements (HTML); (b) defining one or more variables in the macro language file; (c) using the defined variables in both the SQL and HTML statements in the macro language file to represent a common name space for both data retrieval and display presentation; and (d) storing the macro language file containing both the SQL and HTML statements to a data storage device.
-
-
9. A method of retrieving data from a relational database, comprising the steps of:
-
(a) retrieving a macro language file containing both Structured Query Language (SQL) statements and HyperText Markup Language (HTML) statements from a data storage device; (b) transmitting the SQL statements to a relational database management system, wherein the relational database management system performs the SQL statements to generate an output result table; and (c) receiving the output result table from the relational database management system; and (d) mapping the output result table into the HTML statements of the macro language file using a common name space, wherein variable names identified in the HTML statements correspond to variable names identified in the SQL statements. - View Dependent Claims (10, 11, 12)
-
Specification