Chat now with support
Chat with Support

Toad Data Point 6.0.5 - User Guide

Search for Objects

You can quickly locate an object rather than browsing through a list of objects in the Database Explorer orObject Explorer. Object Search locates the following:

  • Names of objects for a string.

  • Text in objects that include source code, which typically includes procedures, functions, triggers, data types, and views. However, the database provider determines which objects include source code.

  • Variable names and comments in the object's source code.

  • Column names for tables and views.

To search for objects

  1. Click on the toolbar (F4).  
  1. Specify search criteria and click Search.

    Note: To append additional search results to the current search, click Append instead. If you click Search, new results replace the previous search results in the data grid.

 

Tips:

  • To remove objects from the search results, right-click the objects in the data grid and select Remove Items. This is useful if you want to narrow the list of results to relevant objects.This does not remove the objects from your database.

  • To create a DDL script from the search results, right-click the data grid and select Create DDL Script. You can then paste the results into the Editor.

  • To perform any actions available for the object, such as creating, altering, dropping, exporting, and generating reports or SQL, right-click the results in the data grid and select an option.  

 

Create an Database Diagram to Use as a Query Template

Scenario

Your company creates several daily and weekly reports regarding customer sales. You need to create a Database Diagram that can be used as a template for these queries.

To create a Database Diagram to use as a query template

  1. Connect to the Toad Sample (Access) database in the Navigation Manager.

  2. Select Tools | Diagram.
  3. Drag the CONTACT table in the Object Explorer to the Diagram pane.

  4. Right click the Diagram pane and clear Show Dependencies to hide the Referenced Objects at the bottom of each table/view, as illustrated in the following screen capture.

  5. Right-click the ORDERS table and select Notes.
  6. Enter the following note in the window for other users:

    The shipping and billing ADDRESS_ID foreign key relations are not needed in most queries and should be hidden when building a query.

  7. Because it is against company policy to display sex and a home phone number in reports, right click on each of these columns in the CONTACT table and select Hide Column.

    Tip: If you have a large number of columns you need to hide, you can right-click a table and select Manage Hidden Columns to quickly select them from a list.

  8. Click Add to Project from the wizard bar at the bottom of the window and enter DBDiagram_Test asthe name for the file. This adds the file to the current project in the Project Manager under a Diagrams folder.
  9. Close the Database Diagram window and open the Project Manager window.
  10. Expand the Diagrams folder and double-click DBDiagram_Test to reload the file in a new Database Diagram window.
  11. To share your project, hidden columns, and notes with colleagues, complete the following:
    1. Select Tools | Options | Environment | Network Share, and navigate to a shared drive where you want to store the Project Manager file.
    2. Select Database | Cache from the open Options window and set the following options:
      Object An notation Cache Description
      Share object annotations Select this checkbox and enter a shared drive location where users can access this file.
      Share hidden column settings Select this checkbox.
    3. Provide the location of the Network Share and Object Annotation Cache settings to colleagues who need to use this diagram.

Click here to view a video of this feature.

  

Related Topics

Diagram Relationships

Browse Data in Related Tables

Use the Master Detail Browser to browse data in parent tables and drill-down to data in related child tables. This is useful when you need to analyze or edit data. For example, suppose you need to view a list of all Nick's Flix stores and the inventory of comedy movies at each store. Using the Master Detail Browser, you specify the table that contains the list of stores as the parent table and specify the table that contains comedy movies as the child table to quickly locate comedies and analyze the inventory.

To browse tables using the Master Detail Browser

  1. Select Tools | Master Detail Browser (ALT+T+A).

  2. Drag one or more tables from the Object Explorer, Object Search, or Project Manager window to the Diagram pane at the top of the Master Detail Browser. Press CTRL+click to select multiple tables at once.

    Notes:

    • A line between tables indicates any existing relationships between the selected tables.

    • At least one parent table (table without any join arrows pointing to it) must be added to the window or an error message displays when returning results.

  3. Join Columns. See Join Columns for more information.

  4. Select the checkbox beside each column you want to include.

    Note: Any columns included in a join are automatically included in the results.

  5. Click (F9) to retrieve data for the parent table initially. To view data in a child table, click + to the left of each row.

    or

    Click to retrieve data in the parent and child tables. If there is more than one child table, a tab displays for each child table.

  6. From the data grid, you can:

    • Edit the data and commit your changes to the database.

    • Right-click the data grid and select Send To | option to add the data to a report, chart, or pivot grid.

Tips:

  • Click to align tables and snap them to the grid.

  • Select the parent table from the drop-down list in the toolbar to view data for a parent table if there are multiple parent tables.

  • Click X on the table you want to remove in the Diagram pane to remove a table and any conditions (e.g., join, where clause) associated with the table.

 

Query

Related Documents

The document was helpful.

Select Rating

I easily found the information I needed.

Select Rating