• Type:

CH Patent on displaying SQL data in HTML, granted to IBM in 1998

BACKGROUND OF THE INVENTION

1. Field of the Invention

This invention relates in general to database management systems performed by computers, and in particular, to a method and apparatus for accessing a relational database over the Internet using macro language files.

2. Description of Related Art

With the fast growing popularity of the Internet and the World Wide Web (also known as “WWW” or the “Web”), there is also a fast growing demand for Web access to databases. However, it is especially difficult to use relational database management system (RDBMS) software with the Web. One of the problems with using RDBMS software on the Web is the lack of correspondence between the protocols used to communicate in the Web with the protocols used to communicate with RDBMS software.

For example, the Web operates using the HyperText Transfer Protocol (HTTP) and the HyperText Markup Language (HTML). This protocol and language results in the communication and display of graphical information that incorporates hyperlinks. Hyperlinks are network addresses that are embedded in a word, phrase, icon or picture that are activated when the user selects a highlighted item displayed in the graphical information. HTTP is the protocol used by Web clients and Web servers to communicate between themselves using these hyperlinks. HTML is the language used by Web servers to create and connect together documents that contain these hyperlinks.

In contrast, most RDBMS software uses a Structured Query Language (SQL) interface. The SQL interface has evolved into a standard language for RDBMS software and has been adopted as such by both the American Nationals Standard Organization (ANSI) and the International Standards Organization (ISO).

Thus, there is a need in the art for methods of accessing RDBMS software across the Internet network, and especially via the World Wide Web. Further, there is a need for simplified development environments for such systems.

SUMMARY OF THE INVENTION

To overcome the limitations in the prior art described above, and to overcome other limitations that will become apparent upon reading and understanding the present specification, the present invention discloses a method and apparatus for executing SQL queries in a relational database management system via 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.

BRIEF DESCRIPTION OF THE DRAWINGS

Referring now to the drawings in which like reference numbers represent corresponding parts throughout:

FIG. 1 schematically illustrates the hardware environment of the preferred embodiment of the present invention;

FIG. 2 shows schematically an overview of the preferred embodiment of the present invention, and in particular, shows the interaction among components in the present invention;

FIG. 3 shows schematically an overview of the preferred embodiment of the present invention, and in particular, shows the relationship between the user runtime environment and the application development environment of the present invention;

FIG. 4 is a flowchart illustrating the steps involved in creating macro language files according to the present invention;

FIG. 5 is a flowchart illustrating the steps involved in using macro language files to provide access to a relational database according to the present invention; and

FIG. 6 is a flowchart illustrating the steps involved in using a macro language file to generate a dynamic SQL query and then merging the results of that query into an HTML report form.

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT

In the following description of the preferred embodiment, reference is made to the accompanying drawings which form a part hereof, and in which is shown by way of illustration a specific embodiment in which the invention may be practiced. It is to be understood that other embodiments may be utilized and structural and functional changes may be made without departing from the scope of the present invention.

OVERVIEW

With the fast growing popularity of the Internet and the World Wide Web (also known as “WWW” or the “Web”), there is also an increasing demand for Web access to relational databases. The present invention is a DB2 WWW gateway that facilitates communication between Web clients, Web servers, and servers executing RDBMS software such as IBM’s DB2 family of products. The DB2 WWW gateway enables an application developer to build Web applications for the RDBMS software using HTML forms and dynamic SQL.

An end user of these applications sees only the input forms for his/her requests and the resulting reports. Users fill out the input forms, point and click to navigate the forms, and to access the RDBMS software and relational database. A complete SQL command is dynamically built by the DB2 WWW gateway with the user inputs and sent to the server executing the RDBMS software. The SQL command is performed by the RDBMS software, and the resulting output is merged into the HTML forms by the DB2 WWW gateway for presentation to the user.

An application developer creates HTML forms and SQL queries and stores them in macro language files at the computer executing the DB2 WWW gateway. The macro language provides “cross-language variable substitution”, thus enabling the application developer to use the full capabilities of: (a) HTML for creation of query or input forms and report forms, and (b) SQL for queries and updates. Since the DB2 WWW gateway uses native HTML and SQL languages, and not some new or hybrid language, various off-the-shelf tools may be used for creation of HTML forms and for generation of the SQL query.

HARDWARE ENVIRONMENT

FIG. 1 schematically illustrates the hardware environment of the preferred embodiment of the present invention, and more particularly, illustrates a typical distributed computer system using the Internet 10 to connect client systems 12 executing Web browsers to server systems 14 executing Web daemons, to connect the server systems 14 executing Web daemons to server systems 16 executing the DB2 WWW gateway, and to connect the server systems 16 executing DB2 WWW gateways to server systems 18 executing the RDBMS software. A typical combination of resources may include clients 12 that are personal computers or workstations, and servers 14, 16, and 18 that are personal computers, workstations, minicomputers, or mainframes. These systems are coupled to one another by various networks, including LANs, WANs, SNA networks, and the Internet.

A client system 12 typically executes a Web browser and is coupled to a server computer 14 executing a Web server. The Web browser is typically a program such as IBM’s Web Explorer, or NetScape or Mosaic. The Web server 14 is typically a program such as IBM’s HTTP Daemon or other WWW daemon. The client computer 12 is bi-directionally coupled with the server computer 14 over a line or via a wireless system. In turn, the server computer 14 is bi-directionally coupled with a DB2 WWW server 16 over a line or via a wireless system. In addition, the DB2 WWW server 16 is bidirectionally coupled with a RDBMS server 18 over a line or via a wireless system.

The DB2 WWW gateway 16 supports access to a server 18 executing the RDBMS software. The DB2 WWW gateway 16 and RDBMS server 18 may be located on the same server as the Web server 14, or they may be located on separate machines. The servers 18 executing the RDBMS software may be geographically distributed and may comprise different vendor systems, such as a DB2, ORACLE, SYBASE, etc.

Those skilled in the art will recognize many modifications may be made to this configuration without departing from the scope of the present invention. For example, in a two-tier configuration, the server system executing the functions of the DB2 WWW gateway 16 may also execute the functions of the Web server 14 and/or the RDBMS server 18. Alternatively, in a three-tier configuration, the Web server 14, DB2 WWW gateway 16, and RDBMS server 18 may all be performed by different servers.

DB2 WWW GATEWAY

The DB2 WWW gateway 16 is designed to be sufficiently flexible and powerful, yet be available on multiple platforms, such as OS/2, AIX, MVS, etc. Further, the DB2 WWW gateway 16 is designed to work with existing Web and database application development tools, with minimal modifications required to such tools.

These goals led also to the development of the macro language of the present invention. The macro language is a combination of HTML and SQL, and incorporates a “cross-language variable substitution” mechanism that allows input data from an HTML-format input form to be inserted in an SQL-format query for the RDBMS software. The “cross-language variable substitution” mechanism also allows SQL query results to be merged into HTML report forms.

The runtime engine of the DB2 WWW gateway 16 reads the macro language files to generate the appropriate query or input forms, SQL queries, and report forms. The use of native HTML and SQL, instead of a new or hybrid language, allows the full expressive power of these languages without artificial limitations. Both query and report forms can be laid out in any fashion.

Moreover, existing tools may be used to generate the macro language files. For example, HTML editors from various vendors can be used to generate the HTML forms component, while SQL query interfaces, such as IBM’s Visualizer Query, can be used to generate the SQL query component.

INTERACTION AMONG COMPONENTS

FIG. 2 shows schematically an overview of the preferred embodiment of the present invention, and in particular, shows the interaction among components in the present invention. The user interacts with the Web browser executing on a client computer 12 remotely located from the Web server 14. At some point, the user executes an HTTP command via the Web browser 12 that results in communication with an HTTP daemon executing on the Web server 14. The Web server 14 would then transmit an initial or home page in HTML format to the Web browser 12 for presentation to the user. The DB2 WWW gateway 16 would be invoked by the user selecting a hyperlinked item from the home page. It is envisioned that the DB2 WWW gateway 16 conforms to the Common Gateway Interface (CGI) defined for Web servers 14, and thus can be invoked from an HTML page in one of two ways: either by an HTTP anchor reference or by an HTTP form action.

An HTTP anchor reference would typically be formatted as follows: ““.

An HTTP form action would typically be formatted in a similar manner as follows: “

“.

In both of the above examples, the following parameters are used:

“{web-server}” identifies the Web server;

“{cgi-name}” identifies the Common Gateway Interface (CGI) to the DB2 WWW gateway;

“{db2-www-gateway}” identifies the DB2 WWW gateway;

“{macro-language-file}” is the name of the macro language file to be executed;

“{command}” is generally either “input” or “report”. If “input”, then an HTML input form is displayed for the end user. If “report”, then SQL commands in the {macro-language-file} are executed and an HTML report form is displayed for the end user.

“{method}” is either “GET” or “POST”, as specified under the HTML standard;

” ?variable-name=variable-value & . . . !” are optional parameters that may be passed to the macro language file executed by the DB2 WWW gateway.

At some point in the interaction between the Web browser 12, the Web server 14, and the DB2 WWW gateway 16, the user would request data from a relational database managed by an RDBMS server 18. The DB2 WWW gateway 16 would retrieve a macro language file 20, extract an HTML input form from the macro language file 20, and transmit the HTML input form to the Web server 14. The Web server 14 transmits the HTML input form to the Web browser 12 for display to the user.

The user manipulates the HTML input form via the Web browser 12, by selecting functions and/or entering data into input boxes. When the user invokes a “submit” or “post” command, the data from the HTML input form, along with the command, is transmitted from the Web browser 12 to the Web server 14. The command would comprise a universal resource locator (URL) that invokes communications between the Web server 14 and the DB2 WWW gateway 16.

The DB2 WWW gateway 16 extracts the user inputs from the HTML input form, retrieves the associated macro language file 20, and substitutes these inputs into an SQL query from the macro language file 20. The DB2 WWW gateway 16 then transmits the SQL query to the RDBMS server 18 for execution. After performing an SQL query, the RDBMS server 18 returns the results of the SQL query, i.e., an output table, to the DB2 WWW gateway 16. The DB2 WWW gateway 16 extracts data from the output table and substitutes it into an HTML report form from the macro language file 20 using a common name space. A common name space arises from the use of common variables in both the HTML and SQL statements in the macro language file, and the cross-language variable substitution mechanism of the present invention. The resulting HTML report form is transmitted by the DB2 WWW gateway 16 to the Web server 14. The Web server 14 transmits the HTML report form to the Web browser 12 for presentation to the user. This interaction between the Web browser 12, the Web server 14, the DB2 WWW gateway 16, and the RDBMS server 18 may continue in a similar manner according to the user’s direction.

DEVELOPMENT ENVIRONMENT

FIG. 3 shows schematically an overview of the preferred embodiment of the present invention, and in particular, shows the relationship between the user runtime environment and the application development environment of the present invention.

As mentioned earlier, the runtime environment includes the interaction between clients 12 executing Web browsers and Web servers 14, DB2 WWW gateways 16, and RDBMS servers 18. Access to the RDBMS server 18 and associated relational database via the DB2 WWW gateway 16 is controlled by programming stored in macro language files 20.

According to the present invention, the development of Web applications for accessing relational databases typically involves the following steps:

1. Create an HTML input form for display to the user;

2. Extract user inputs from HTML input forms and generate the appropriate SQL query via a common name space using a variable substitution mechanism;

3. Merge the SQL query results into an HTML report form; and

4. Allow for additional queries and HTML forms, possibly from the hyperlinks embedded in the HTML report forms.

The key challenge in writing applications for the DB2 WWW gateway is to understand both HTML and SQL languages, since these languages are embedded inside the macro language files. In its simplest forms, basic knowledge of SQL and HTML can be easily acquired. However, these languages can be quite complex and tedious to write in order to utilize their advanced functions. Fortunately, there are existing HTML editors 22 and SQL query tools 24 that can help to greatly reduce the complexity of writing the macro language files. Using HTML editors 22 and SQL query tools 24, the application developer creates the macro language files 20, wherein each of the macro language files 20 containing SQL commands and the associated query and report forms in HTML format.

MACRO LANGUAGE DEFINITIONS

According to the preferred embodiment of the present invention, each macro language file typically contains three sections:

1. An SQL command section identified as follows: % SQL {sql command section %}

2. An HTML input form section identified as follows: % HTML INPUT {html input form section %}

3. An HTML report form section identified as follows: % HTML REPORT{html report form section %}

The macro language contains directives, which are reserved keywords with a prefix symbol “%” (e.g., % SQL). Many of the directives have both a single line form and a block form, which supports multiple lines of text. These block directives are terminated with “%}”, which can be anywhere on a line. In the preferred embodiment, nestings of blocks are not allowed, with the exception of the % EXECSQL block for the report form as described below.

SQL Directive

The SQL directive has the following format:

______________________________________   %SQL { any-valid-sql-commands-on-1-line %}or   %SQL   {   any-valid-sql-commands-on-1-or-more-lines   %}______________________________________

The SQL directive identifies one or more SQL commands for execution by the RDBMS software. These SQL commands are executed sequentially, and the query results, if any, from the SQL commands are returned to the user for display.

HTML Input Form Directive

The HTML input form directive has the following format:

______________________________________  %HTML.sub.-- INPUT { any-valid-html-text-on-1-line %}or  %HTML.sub.-- INPUT  {  any-valid-html-text-on-1-or-more-lines  %}______________________________________

The HTML input form directive contains the HTML commands comprising the input form used to accept input data from the user before generating the SQL query. The HTML input form section is needed only when user input is required to complete the SQL query.

HTML Report Form Directive

The HTML report form directive has the following format:

______________________________________ %HTML.sub.-- REPORT{ any-valid-html-text-on-1-lines %}or %HTML.sub.-- REPORT { any-valid-html-text-on-1-or-more-lines %EXECSQL { %} any-valid-html-text-on-1-or-more-lines %}______________________________________

The HTML report form directive contains the HTML commands comprising the report form used to format query results for display to the user. The % EXECSQL sub-directive contains SQL commands to execute, as well as the query result variables and how they are to be formatted in the report. Any HTML commands before and after the % EXECSQL block may contain hyperlinks to other HTML pages or macro language files. Note, too, that if the % HTML REPORT directive is missing, then a default table format is used to print out the query results.

Comment Directive

The HTML comment directive has the following format:

______________________________________       %{ any-text-on-1-line %}   or       %{       any-text-on-1-or-more-lines       %}______________________________________

The comment directive contains the comments to be inserted anywhere in the macro language file, so long as it is not nested inside another component block. The terminating symbol “%” is required for terminating comments on a single line.

DEFINE Directive

The DEFINE directive has the following format:

______________________________________       %DEFINE define-statement   or       %DEFINE       {       define-statement-1       define-statement-2       . . .       %}______________________________________

The DEFINE directive defines the variables used in the macro language file. The “define-statement” above may be one of the following:

1. A simple variable assignment: varname=”string-value”

2. A conditional variable assignment: varname=varname2?”value1″:”value2″

3. A list variable declaration: % LIST “value-separator” varname

The DEFINE directive defines the value strings that are to be substituted for the specified variables. When referenced, a simple variable is always substituted with the value string. A conditional variable is substituted with the first value string, if the tested variable name exists and is not null, or it is substituted with the second value string. A list variable is declared in the DEFINE section with the list property, wherein multiple value strings assigned to the list variable are concatenated together with the value-separator inbetween. The conditional and list variables are typically used together to construct portions of the SQL clause based on user inputs and selections from the HTML forms. The value-strings may contain other variables, which are de-referenced when used.

Variables may contain other variables. For example:

% DEFINE var1=”$(var2).abc”

is permitted. However, circular references (i.e., cycles) are not allowed. For example, the DEFINE declarations below are not allowed:

% DEFINE a=”$(b)”

% DEFINE b=”$(a)”

A quote character (“) may be included in a value string by using two consecutive quotes (“”). Further, an empty string with two consecutive quotes is equivalent to a NULL string. For example, the DEFINE sections:

% DEFINE x=”say “”hello”””

% DEFINE y=””

result in the variable x with the value `say “hello”` and variable y with the value NULL. By definition, undefined variables are equivalent to NULL variables.

Variable Substitution

The “cross-language variable substitution” mechanism of the present invention is a key feature of the macro language, which allows:

1. Input data from the HTML input or query forms to be inserted into the SQL statements; and

2. SQL query results to be merged into HTML report forms.

The macro language allows variables to be defined in one of several ways:

1. DEFINE declaration. For example: % DEFINE varname=”value-string”

2. HTML form’s statements. For example: or

%}%DEFINE{name = "customer.name"addr = "customer.address"%}%SQL SELECT $(Field) FROM customer. . .______________________________________

When the HTML input section is processed to return a form back to the user, $$(name) and $$(addr) are replaced with $(name) and $(addr). Hence, the real table and column values never appear on the HTML form. When the user submits the input form, the SQL section is processed and “$(Field)” is properly substituted with “customer.name, customer, addr”.

There are also a number of “special system variables” that have special meaning to the DB2 WWW gateway 16. These special variables may be defined by the application developer in the macro language file or by the user from an input form. The current special variables include:

DATABASE: name of the database to be accessed; this variable must be defined.

LOGIN: database login name.

PASSWORD: database password associated with LOGIN name.

SHOWSQL: flag to show the SQL command on the report form; default is NULL.

In addition, predefined query report variables are available and currently include:

$(FN1), $(FN2), . . . , $(FNn): field names for each of the columns defined in the table.

$(FV1), $(FV2), . . . , $(FVn): row values for each of the columns defined in the table.

$(NR): total number of rows or records retrieved by the query.

USING THE MACRO LANGUAGE FILE

FIG. 4 is a flowchart illustrating the steps involved in creating macro language files according to the present invention. Block 26 represents the creation of the macro language file. Block 28 represents the user defining variables in the macro language file using the % DEFINE directive. Block 30 represents the user inserting the variables into the SQL and HTML statements in the macro language file using a common name space, wherein a common name space indicates that the same variables may be used in either SQL or HTML statements in order to provide cross-language variable substitution capabilities. Block 32 represents the storing of the macro language file, typically on a disk drive or other peripheral attached to the DB2 WWW gateway 16.

FIG. 5 is a flowchart illustrating the steps involved in using macro language files to provide access to a relational database according to the present invention. Block 34 represents the DB2 WWW gateway 16 reading a macro language file in response to a command received from a Web browser 12 via a Web server 14. As each record is read from the macro language file, block 36 examines the record to determine whether or not a variable is found in the HTML or SQL statements stored in the macro language file. If so, control transfers to block 38, which looks up variable definitions in the variable substitution table maintained by the DB2 WWW gateway 16. Block 40 is a decision block that determines whether or not the variable can be found in the variable substitution table. If not, no substitution occurs and control transfers to block 34 to read additional records from the macro language file. Otherwise, control transfers to block 42, which represents the DB2 WWW gateway 16 substituting the table values for the variable into the SQL or HTML statements in a recursive manner.

FIG. 6 is a flowchart illustrating the steps involved in using a macro language file to generate a dynamic SQL query and then merging the results of that query into an HTML report form. Block 44 represents the DB2 WWW gateway 16 retrieving the indicated macro language file, extracting the SQL statements therefrom, and performing the necessary variable substitution using the input data from the user. Block 46 represents the DB2 WWW gateway 16 transmitting the SQL statement to the RDBMS server 18 and the RDBMS server 18 performing the SQL statement to generate an output table. The output table is then returned to the DB2 WWW gateway 16 processing. Block 48 represents the DB2 WWW gateway 16 mapping the output table into the HTML report form from the macro language file using the common name space. Again, the common name space indicates that variables may be embedded in the HTML report form that allows cross-language variable substitution to occur, so that the output table is correctly merged into the HTML report form. Thereafter, the DB2 WWW gateway 16 transmits the HTML report form to the Web server 14 and then on to the Web browser 12 for presentation to the user.

Example Macro Language Files

The use of the macro language and variable substitution mechanism of the present invention are best illustrated by the examples set forth below. In these examples, the macro language files have an extension “.d2w”. The DB2 WWW gateway looks for file names with this extension when opening macro language files for processing.

Example 1: HTML-to-SQL Substitution

Consider the following macro language file “example1” using HTML to SQL variable substitution:

______________________________________%HTML.sub.-- INPUT
Please select one or more fields:
%}%DEFINE DATABASE="CUSTOMERDB"%SQL SELECT $(Fields) FROM CustomerTb1%HTML.sub.-- REPORT{Information Requested:%EXECSQL{ %}
Return to Homepage%}______________________________________

The macro language file above may first be invoked by the URL “http://ibm.com/db2www/example1/input”, which is embedded as an anchor reference in an HTML home page. When the end user clicks on the anchor item, the DB2 WWW gateway is activated, and the user is presented with the HTML input form.

The macro language file above allows the user to select a field from the customer table. Multiple fields, such as “Name” and “Phone”, may be selected. When the user clicks on the ” Submit Query!” button, the macro language file is again processed by the form action “http://ibm.com/db2www/example1/report”. The user inputs obtained from the HTML Addr: %}%DEFINE{%LIST "and" ConditionCondition = "Name LIKE ""$(SubString1)"""Condition = "City LIKE ""$(SubString2)"""WhereClause = Condition ? "WHERE $ (Condition)" : ""%}%DEFINE DATABASE="CUSTOMERDB"%SQL{SELECT Name, City FROM CustomerTb1 $ (WhereClause)%}______________________________________

The HTML input form asks the users to type in the string patterns to match with the database fields Name and Addr. The user may type in one, two or no pattern at all. The variable condition is declared to be a list variable, and the variable WhereClause is conditionally assigned. Thus, $(WhereClause) will be substituted with one of the following values:

1. NULL (if the user leaves both inputs empty);

2. WHERE Name LIKE “S %” (if the user types in S % for Name and leave Addr empty); or

3. WHERE Name LIKE “S %” AND City LIKE “San Jose” (if the user types in S % for Name and San Jose for City).

Example 3: HTML-to-SQL Substitution

Consider the following macro language file “example3” using HTML to SQL variable substitution:

______________________________________%DEFINE DATABASE="CUSTOMERDB"%SQL SELECT $(Fields) FROM CustomerTb1%HTML.sub.-- INPUT
Please select one or more fields:
%}______________________________________

The macro language file is invoked by the following URL: “http://ibm.com/db2www/example3/input”, which is embedded as an anchor reference in an HTML home page. When the end-user clicks on the anchor, the DB2 WWW gateway is activated via the URL, and the user is presented with the HTML input form from the macro language file. The macro language file allows the user to select a field from the customer table file named “CustomerTb1”. Multiple fields, such as “Name”, “Address”, “Phone”, and “Fax” may be selected. The user inputs obtained from the HTML %}%DEFINE URLprefix="http://ibm.com/"%HTML.sub.-- REPORT{Query Results. Please click on customer name toget detailed description of customer information.%EXECSQL{Name: $ (FV1) Company: $(FV2)%}______________________________________Enter name of customer for search: .sub.-------------------- Search Now!______________________________________

The user enters the name of the customer for the query into the input form, and then selects the ” Search Now!” button. The input form invokes the DB2 WWW gateway with the URL: “http://ibm.com/db2www/example6a/report”, and the following report form is displayed to the user:

______________________________________Query Results. Please click on customer name toget detailed description of customer information.Name:  John Smith!Company: Mikrotuf CorporationName:  David Doe!Company: Orakel Limited Go to home page!______________________________________

The text between the brackets are displayed as highlighted hyperlinks that may be selected by the user. For example, if the user selects ” Go to home page!”, then he or she will jump to the HTML page “homepage.html”.

Alternatively, if the user selects ” John Smith!”, then DB2 WWW gateway is invoked with the following URL: “http://ibm.com/db2www/example6b/report/ ?cust=John Smith!”, and the following macro language file is retrieved:

______________________________________%DEFINE DATABASE="CUSTOMERDB"%SQLSELECT Name, Title,          Phone FROM CustomerTb1          WHERE Name LIKE "$(cust)"%}%HTML.sub.-- REPORT{Detailed customer information______________________________________%EXECSQLName = $(FV1)Title = $(FV2)Phone = $(FV3)%}%}______________________________________

After the SQL query in the macro language file is executed, with “John Smith” replacing the “$(cust)” variable, then the HTML report form is displayed for the user:

______________________________________Detailed customer information______________________________________Name = John SmithTitle = VP of Research and DevelopmentPhone = 415-555-1212______________________________________

CONCLUSION

This concludes the description of the preferred embodiment of the invention. The following describes some alternative embodiments for accomplishing the present invention. For example, any type of computer, such as a mainframe, minicomputer, or personal computer, could be used with the present invention. In addition, any software program adhering (either partially or entirely) to the HTTP protocol or the HTML or SQL language standards could benefit from the present invention.

In summary, 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.

The foregoing description of the preferred embodiment of the invention has been presented for the purposes of illustration and description. It is not intended to be exhaustive or to limit the invention to the precise form disclosed. Many modifications and variations are possible in light of the above teaching. It is intended that the scope of the invention be limited not by this detailed description, but rather by the claims appended hereto.

Read More

Previous Post

CH Wirecard offices searched as prosecutors probe management board

Next Post

CH Jurassic Park Dinosaurs Illustrated with Modern Science

Leave a Reply

Your email address will not be published. Required fields are marked *

Scroll to top