Tchater maintenant avec le support
Tchattez avec un ingénieur du support

Toad for Oracle 2025 R3 - Getting Started Guide

Welcome to Toad Toad Resources Required Privileges Create and Manage Database Connections Editor Basics Schema Browser Basics Data Grid Basics Work with Data Work with Database Objects Work with Code
Write Statements and Scripts Work with the Query Builder Execute Statements and Scripts Save Statements (SQL Recall) Work with PL/SQL Objects Debug Analyze Code Optimize SQL
Customize your Toad Environment Use Other Quest Software Products with Toad

View Parent/Child Datasets

When you view a table's data in the Schema Browser, you can split the window to also show child or parent tables in a new detail grid. You can also change the query for the detail grid.

To view parent/child datasets in the Schema Browser

  1. Select a table in the Schema Browser.
  2. Select the Data tab and click on the Data tab toolbar.

    If the table has a single foreign key, Toad automatically displays the related table. If there is more than one foreign key, click the arrow beside on the detail grid toolbar and select a table. Toad remembers your selection.

  3. To edit the query in the detail grid, click on the detail grid toolbar.

 

View/Modify Privileges

You can assign object privileges from the Create or Alter User windows, or from the Privileges window.

To access the Add Object Privileges window

  1. On the main toolbar, go to Database | Create | User.
  2. On the Object Grants tab, click Add.
  3. Select All or Specify.
    • If you will specify privileges, select an Object Type to select the available privileges.
  4. Select an Object Type and choose objects to grant privileges on, using the arrow buttons to move those objects to the Grants grid on the right.

 

The Privileges window allows you to view, grant, and revoke privileges on a database object. You can view all users and their privileges. If you are not the object owner, you can only grant privileges if you have been given the "grant option."

To access the Privileges window

  1. Click image\Toad0015.gif on the Standard toolbar to open the Schema Browser.
  2. Select a table, view, sequence, or procedure on the left-hand side.
  3. Click on the left-hand side toolbar. Grants are highlighted in blue and admin grants in yellow.

    Tip: If you do not see all users, make sure Hide privileges granted by other users or Hide users/roles with no privileges assigned is not selected.

 

Configure Grantees

From the System Privileges window you can grant or revoke selected privileges to/from a selected user. In addition, you can do the same to a selected role or roles.

To grant or revoke a privilege

  1. Click image\Toad0015.gif on the Standard toolbar to open the Schema Browser.
  2. Expand System Privileges.
  3. Right click a privilege, then click (Configure Grantees).
  4. Check or clear the appropriate boxes to grant or revoke privileges to users or roles.

 

Look Up Foreign Keys

When you are editing table data in the Schema Browser, you can look up foreign keys and enter the associated data into the selected table.

Foreign key lookup will also work when the grid is in Read Only mode. You can disable this feature from the Toad Options | Schema Browser | Data and Grids | Enable FK Lookup.

To lookup foreign keys

  1. In the Schema Browser, click the Tables tab.
  2. Select the table you want to edit and in the details pane click the Data tab.
  3. Click in a column that has foreign keys. Click again to activate Editing mode. A drill down button displays.
  4. Click to display the rows in the referential table.
  5. To enter data in appropriate columns in the data grid, select a row and click OK.

The Foreign Key Lookup Window

Within the lookup window, all foreign key constraints are included. If you want Toad to ignore disabled constraints, see Toad Options | Schema Browser | Data.

You can filter rows by typing or by directly editing the query.

To filter rows by typing

  1. Make sure the Filter by box in the lower left is selected.
  2. Put your cursor in one of the displayed columns. You can now filter by typing (if you type "ab" it will filter out rows that do not begin with "ab").

To filter rows by editing the query

  1. Click Edit Query.
  2. Edit the query within the editing window.
  3. Specify variables by clicking the Variable button and entering variable information.
  4. Check that your query syntax is accurate by clicking the Check button.
  5. Click OK to run your new query and filter the lookup grid.

 

Documents connexes

The document was helpful.

Sélectionner une évaluation

I easily found the information I needed.

Sélectionner une évaluation