Data source task pane
First Claim
Patent Images
1. A computer-implemented method for relating tables for a database, the method comprising:
- providing a primary table comprising a first field;
providing a user interface to display the first field;
providing a secondary table comprising a second field;
displaying on the user interface the second field;
receiving commands from the user for creating a relationship between the first and second fields, wherein creating a relationship between the first and second fields comprises;
receiving a selection of the second field displayed in the user interface;
receiving a command to drag the selected second field to a first pane comprising the first field in the user interface; and
receiving a command to drop the selected second field onto the first field in the user interface to create the relationship between the first and second fields, wherein the relationship comprises a one-to-many relationship from the secondary table to the primary table; and
generating a query such that the generated query produces a results set from the primary and secondary tables in accordance with the relationship between the first and second fields, wherein the query is generated automatically upon receiving the commands to drag and drop the selected second field onto the first field in the user interface, and wherein other fields in the primary and secondary tables that are not in the query are distinguished from the first and second fields by at least one of a color and a font size of the first and second fields to distinguish the first and second fields from the other fields in the primary and secondary tables.
2 Assignments
0 Petitions
Accused Products
Abstract
A user interface is provided that allows users to create queries interactively. The user interface operates by creating a source query (or, for example, SQL commands) for the user while they select fields from a data source. This provides users with an alternative to using conventional designers, wizards, or other tools to manually generate a query.
117 Citations
19 Claims
-
1. A computer-implemented method for relating tables for a database, the method comprising:
-
providing a primary table comprising a first field; providing a user interface to display the first field; providing a secondary table comprising a second field; displaying on the user interface the second field; receiving commands from the user for creating a relationship between the first and second fields, wherein creating a relationship between the first and second fields comprises; receiving a selection of the second field displayed in the user interface; receiving a command to drag the selected second field to a first pane comprising the first field in the user interface; and receiving a command to drop the selected second field onto the first field in the user interface to create the relationship between the first and second fields, wherein the relationship comprises a one-to-many relationship from the secondary table to the primary table; and generating a query such that the generated query produces a results set from the primary and secondary tables in accordance with the relationship between the first and second fields, wherein the query is generated automatically upon receiving the commands to drag and drop the selected second field onto the first field in the user interface, and wherein other fields in the primary and secondary tables that are not in the query are distinguished from the first and second fields by at least one of a color and a font size of the first and second fields to distinguish the first and second fields from the other fields in the primary and secondary tables. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A computer-implemented system for editing schema for a database, the system comprising:
-
a memory for storing executable program code; and a processor, functionally coupled to the memory, the processor being responsive to computer-executable instructions contained in the program code and operative; to receive commands, in a user interface, from the user for the for creating a relationship between a first field from a primary table and a second field from a secondary table, wherein the first and second fields are displayed in the user interface, and to change a displayed image in response to the received commands, wherein creating a relationship between the first and second fields comprises; receiving a selection of the second field displayed in the user interface;
receiving a command to drag the selected second field to a first pane comprising the first field in the user interface; andreceiving a command to drop the selected second field onto the first field in the user interface to create the relationship between the first and second fields; and to generate a query, in a query generator, for producing a results set from the primary and secondary tables in accordance with the relationship between the first and second fields, wherein the query is generated automatically upon receiving the commands to drag and drop the selected second field onto the first field in the user interface, and wherein other fields in the primary and secondary tables that are not in the query are distinguished from the first and second fields by at least one of a color and a font size of the first and second fields to distinguish the first and second fields from the other fields in the primary and secondary tables. - View Dependent Claims (9, 10, 11, 12, 13)
-
-
14. A computer-implemented system for generating queries for a database, the system comprising:
-
a memory storage means for storing executable program code; and a processing means, functionally coupled to the memory storage means, the processing means being responsive to computer-executable instructions contained in the program code, the processing means being utilized by a computer; means for providing a primary table comprising a first field and for providing a secondary table comprising a second field; means for providing a user interface for displaying the first and second fields and for receiving commands from the user for creating a relationship between the first and second fields, wherein creating a relationship between the first and second fields comprises;
receiving a selection of the second field displayed in the user interface;receiving a command to drag the selected second field to a first pane comprising the first field in the user interface; and receiving a command to drop the selected second field onto the first field in the user interface to create the relationship between the first and second fields; and means for generating a query such that the generated query is configured to produce a results set from the primary and secondary tables in accordance with the relationship between the first and second fields, wherein the query is generated automatically upon receiving the commands to drag and drop the selected second field onto the first field in the user interface, and wherein other fields in the primary and secondary tables that are not in the query are distinguished from the first and second fields by at least one of a color and a font size of the first and second fields to distinguish the first and second fields from the other fields in the primary and secondary tables. - View Dependent Claims (15, 16, 17, 18, 19)
-
Specification