The table shortcut toolbar is a very useful item for people who wish to query the same tables often. You can simple right-click on a table object and select the [add shortcut to toolbar] to add that table's short cut to the toolbar. Once you have a table shortcut you may right click on that shortcut and change the shortcut properties. For example: if you create many queries on the same tables and wish to always start with you could change the properties of shortcut [Key Binding] to "U" and property to checked. Everytime you click U your current query will be cleared and you will be starting a new query with . The toolbar settings are saved even when query builder is closed, so your table toolbar will still have the quick table refrence when you re-open the query builder.
2.
Shortcut Toolbar with Shortcut icon (Orders Table): Shortcut Toolbar is an area for adding Table Entity shortcuts. Once a Shortcut is added here, left clicking it creates a Table Entity with that objects initial properties.
3.
Opens and existing Query Builder Document.
Loads an existing Query Builder Document into the query builder. If the current database connection of the query builder is not that of the document, query builder will load the connection information from the document. This is the only method to change database connections in the query builder without reloading the query builder.
4.
Saves the current Query Builder Document.
After creating a query you may save it as a .xqb object. The object contains local refrences pointer information used by Query builder to discover database and schema information, but does not actually save any database specific information. So if you wish to save an .xqb file and reload it on a diffrent machine you will need to make sure that the local refrence pointer information is correct. You may do this by opening the file in a text editor and checking the . If you only wish to save the sql statement you may use the save sql as option. This will save the sql statement of the object to a .sql file in a text format. You can not load a .sql file into query builder.
Save Results: You may also save the result set of the query to file in many diffrent very useful formats. The encoding and platform can be specified or left as default to the current machine but may also be changed if you plan on sending the file to be used by someone in a diffrent country or operating system. The results type can be of the following : Grid Results, Pivot Grid Results, Text Results, Client Statististics or Explain Plan; with the following data formats: Html, Excel, XML, Insert or Delimited Grid results will give you just the data from the sql statement in the chosen format. Html, Excel, XML and Delimited are basic formats for data display options. The Insert format is an interesting way of saving the results. This option can be used to save scripts that would create a new table containing the results as its data or to create scripts that would insert the results into an existing table. You will need to make sure and specify the schema and table name and type of line execution plan accordingly with the type of database you are working with. If you do not the scripts created will not work properly. Pivot Grid Results works very simular to Grid results unless you save it to excel. Saving to excel will also save its pivot grid information if any was created. Text Results will create a file with the complete server text output. including the sql statement, column headers, query data results, any errors that would accur from the sql or exceptions generate the application. you can uncheck the [ ] include sql statement if you don't wish to have the sql statement saved. Client Statistics will give you specific statistics on the object run. Including the count and type of queries executed; rows affected; transactions; time required to execute server and client side; wait times, etc... Explain Plan does not currently process anything in query builder.
5.
Save As: Saves the current Query Builder Document with options to relocate, rename and change file type.
6.
Save SQL as: Saves the current Query Builder Document as an SQL text file.
7.
Execute: Runs the SQL statement as created within the SQL pane.
8.
Execute Edit: Runs the SQL statement as created within the SQL pane and returns an editable SQL object data grid.
9.
Cancel: Will stop an executing sql thread at its current point
10.
Adds/Removes Group By column in the Columns Pane
The Group By column allows the user to give grouping information for columns or to apply data aggregate functions to a column. Column functions compute, from a group of rows, a single value for a designated column or expression. This provides the capability to aggregate data, thereby enabling you to perform statistical calculations across many rows with one SQL statement.
11.
Add Table: Opens the add table window
12.
Show Diagram Pane: Shows/Hides the Diagram Pane
13.
Show Columns Pane: Shows/Hides the Columns Pane
14.
Show SQL Pane: Shows/Hides the SQL Pane
15.
Show Results Pane: Shows/Hides the Results Pane
16.
Show Datatypes: Shows/Hides Datatypes within the Columns Pane
17.
Show Indexes: Shows/Hides the Indexes column in the Columns Pane
18.
Filters: Allows selection of Filters (Quote Identifiers, Fully Qualified Tables, Database Qualified Tables, Auto Join in Foreign Key)
19.
Reconnect Button: Reconnects to the current database connection if it times out.
20.
Database: List of Databases on the current Database Server. If "Add New Table" is clicked, the database in this drop-down will be used.
21.
Connection Information: Displays information on the current database connection.
22.
Table Entity: When Tables are added to the Query Builder, they appear as Table Entities showing their column information.
23.
Max Results: Sets the total number of results displayed from an executed query.
24.
JOIN icon: Indicates the type of JOIN.
25.
JOIN icon indicating all rows from table "Order Details" selected: This JOIN icon indicates a RIGHT OUTER JOIN.
26.
JOIN indicator (selected): The darker shading on the JOIN indicator highlights it to show that it is currently selected, providing different menu items when right clicked than if it had not been selected.
27.
Columns Pane: Displays column information on the tables visible in the Diagram Pane.
28.
SQL Pane: Displays the formatted SQL of the queries created by the diagram in the Diagram Pane
29.
Indexes Pane (Index Assistant): Shows Index information of the Table Entities from the Diagram Pane
30.
Indexes Pane (Index Assistant - ProductID Index Column Selected): Displays Index of ProductID, with it selected, currently ProductID is listed as sequence 1.
31.
Grid Results: This tab displays the results in grid form.
32.
Pivot Grid: This tab allows creation of Pivot Grids from the results generated by the script in the SQL Pane.
33.
Messages: This tab displays any messages that appear during query execution.
34.
Results Pane: When a query is executed, the results of the query are diplayed here.
35.
Results Pane Quick Filter: Following a query execution, the results can be quick filtered for specific results here.