|
Data Source Tree Pane |
Top Previous Next |
|
Data Source Tree Pane Filter and search the Data Source Tree items
On initial entry to the Data Source, the Tree Pane shows the database structure of Tables and Views. A finder (Search) facility is available to narrow the full tree structure.
Enter any characters (Either File or part file number e.g. F42 or Address) in the Look for: field and then select the Find icon button
Expand data source view The Data Source Tree shows any valid databases as a result of your sign on with a
Select the
These two then may or may not be displayed with a
Expand Tables list & Find Table In this example F42 has been entered in the 'Look for' field and a search carried out in the database 'Tables' only. The 'Look In' drop down box gives three options All (both Tables and Views), Tables only or Views only. Table details are available to view and select by toggling the
The Tables tree option shows a full list of all tables available in the database. This list can be reduced selectively by use of the Filter as described above.
(In the example the Filter or Look In facility has been used to select all Tables starting F42).
An alternative method of table selection, is to click the curser in the table list and then type either the full table designation (F4101) or the first part of the table (F41) and the curser will then 'go to' that position in the table. You can then either drag and drop the full table or move the curser to the required table and drag the new resulting table...
Each Table
Another feature of the Data Source Tree pane is the ability to Right Click on a Table to display a window with two options: Open Table: If you select this option on the table it will then open the table with all columns in the Query Builder pane, as if the table had been dragged into the Builder Pane and all fields selected. But note, when you then select the Designer option the table is not left in the Query Builder Pane.
and Add Table to Designer: If you select this option on the table it will then add the table to the Query Builder Pane as if it had been dragged and dropped. It will remain in the query Builder Pane.
Expand table columns Expand the Table Columns by selecting the
Column Properties Right click on any field in the expanded Columns tree to show the Database Object Properties screen
In the example shown for the SDDOCO_Order_number field; it is 10 numeric characters with no decimal (0 Scale) and 4 bytes long. This object properties information is not available in the Query Builder Pane.
Expand table indexes Expand the Table Indexes by selecting the
In the example shown, the F4201_Sales_Order_Header_File Indexes have been expanded and show nine (9) defined indexes. Further expansion shows the key fields in the Index.
Expand views list If View details are available select the
In the example View F42019A_F42019_Sales_Order_Header_all_Columns has been displayed. If a view is available it will have been set up previously in the database and is a very useful way of creating a query with a reduced column set.
Expand View columns Expand the View Columns by selecting the
Columns A Column in a table can be Keyed, or Indexed or both or neither.
Keyed column In database design, a primary key is a value that can be used to identify a unique row in a table. Attributes are associated with it. Examples are names in a telephone book (to look up telephone numbers) and words in a dictionary (to look up definitions).
Indexed column An index is a feature in a database that allows quick access to the rows in a table. The index is created using one or more columns of the table. Not only is the index smaller than the original table (due to having fewer columns), but it is optimized for quick searching, usually via a balanced tree
Keyed and indexed column Both the above features exist in a database column if it is both keyed and indexed.
Foreign key on column A foreign key is a field or group of fields in a database record that point to a key field or group of fields forming a key of another database record in some (usually different) table. Usually a foreign key in one table refers to the primary key of another table
Summary of the Main Data Source Tree Icons
|
Page URL: http://www.unitysolutions.com/Helps/UTB/HTML/index.html?data_source_tree_pane.htm