Query authoring by modifying a view of the results of the query
First Claim
1. A method for authoring an updated database query by a user modifying a view of the results of a database query, the method comprising:
- generating the view of the results of the database query;
providing a user interface for the user to modify the view of the results of the database query to define results of the updated database query, wherein modifying the view of the results of the database query comprisesmodifying an order of one or more fields shown in the view by dragging the one or more fields to indicate the order,adding a field from a table in the database to the view by dragging the field from the table to the view,filtering the view by indicating at least one field for filtering a plurality of records of the view,and further comprises adding one or more fields in a second table to the view;
in response to modifying the view of the results of the database query and adding one or more fields in the second table to the view, generating a query definition based on a modification of the view of the results, wherein the query definition reflects a database join operation for adding the one or more fields in the second table;
andrunning the generated query definition on a database to perform the updated database query.
2 Assignments
0 Petitions
Accused Products
Abstract
Technologies and concepts are described herein for authoring a database query through the modification of a view of the data to be returned by the query. A user interface is provided for authoring a database query through the modification of a view of the data to be returned by the query that includes a view showing the results of a database query. A user interface is also provided for modifying the view to define the results of the query. As the view is modified, a query definition is generated which, when executed against the database, will return the results of the database query shown in the view. When the desired results are shown in the view, the query definition can be saved and run against the database to perform the database query.
-
Citations
13 Claims
-
1. A method for authoring an updated database query by a user modifying a view of the results of a database query, the method comprising:
-
generating the view of the results of the database query; providing a user interface for the user to modify the view of the results of the database query to define results of the updated database query, wherein modifying the view of the results of the database query comprises modifying an order of one or more fields shown in the view by dragging the one or more fields to indicate the order, adding a field from a table in the database to the view by dragging the field from the table to the view, filtering the view by indicating at least one field for filtering a plurality of records of the view, and further comprises adding one or more fields in a second table to the view; in response to modifying the view of the results of the database query and adding one or more fields in the second table to the view, generating a query definition based on a modification of the view of the results, wherein the query definition reflects a database join operation for adding the one or more fields in the second table; and running the generated query definition on a database to perform the updated database query. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A computer storage medium that is not a signal having computer executable instructions stored thereon which, when executed by a computer, cause the computer to:
-
display a query design surface comprising one or more columns, each of the columns corresponding to a field in a table of the database, the query design surface further comprising one or more rows each of the rows corresponding to a record within the table of the database, the query design surface configured to display a view of the results of a database query; provide a user interface for allowing a user to interact with the query design surface to modify the view showing the results of the database query, wherein modifying the view of the results of the database query comprises modifying an order of one or more fields shown in the view by dragging the one or more fields to indicate the order, adding a field from the table in the database to the view by dragging the field from the table to the view, filtering the view by indicating at least one field for filtering a plurality of records of the view and further comprises adding one or more fields in a second table to the view, wherein the second table is different from the table; and in response to modifying the view of the results of the database query and adding one or more fields in the second table to the view, generating a query definition based on a modification of the view of the results, wherein the query definition reflects a database join operation for adding the one or more fields in the second table and is capable of returning the results defined in the modified view when an updated database query is utilized to query a database. - View Dependent Claims (8, 9, 10, 11)
-
-
12. A method for authoring a database query by modifying a view of the results of the database query, the method comprising:
-
displaying a query design surface, the query design surface configured to display a view of the results of the database query and comprising one or more columns and one or more rows, each of the columns corresponding to a field in a table of the database and each of the rows corresponding to a record within the table of the database; providing a user interface for interacting with the query design surface to modify the view of the results of the database query to define an updated query definition providing the results shown in the modified view, the user interface comprising a field list for adding one or more fields from the table to the view, a control for sorting the view based on one or more fields shown in the view, and a control for filtering the view, wherein the user interface further allows performing a database join operation between the one or more fields shown in the query design surface and a field from a second database table, wherein the second database table is different from the table of the database; generating the updated query definition capable of returning the results of the database query shown in the modified view; and running the updated query definition on the database. - View Dependent Claims (13)
-
Specification