Database Source Code Search Dialog
Modules, Windows And Dialogs > Database Source Code Search Dialog
Search stored programs, triggers and views for a character string in the source code.
|
|
TIP: You can use this utility to perform a quick "where-used" impact analysis. |
Open the Database Source Code Search dialog
Select Search | Code Search.
Define the search criteria
- From the What tab define the search string.
- From the Where tab select the schema and object type.
- Click Search.
You can stop/suspend the search from the Session Menu or toolbar.
Now objects have been found
Take actions on found object(s)
|
Edit |
Double click on the object.
The object opens in the corresponding editor with the cursor at the line containing the search string. For more information, see Visual Object Editors. |
|
Describe |
View Describe information on the object.
Right-click on a row in the results set to see Describe information. |
|
Add to Project Manager |
Save a shortcut to the code location.
Drag the selection from the result list to the Project Manager. |
|
Source Preview |
Open Source Preview.
Select found text objects to view their source code. |
DB Navigator
Modules, Windows And Dialogs > DB Navigator
DB Navigator shows the entire database structure as a tree with expandable nodes.
DB Navigator Toolbar
|
|
Back and Forward |
Retrace your steps. Navigate between hyperlinked database objects and their dependent objects and components. Move between—
- An object and its dependencies, and vice-versa
- An index or trigger and the table to which it refers, and vice-versa
- A collector type and the base type of table it is related to
- A synonym and its base object
You can also use the Forward and Back buttons in conjunction with Up One Level. |
|
Up One Level |
Change hierarchy levels in the DB Navigator tree.
|
|
TIP: Use Back to return to the level where you first used moved up. | |
|
DB Navigator Preferences |
Set and Save filters to limit the objects displayed in the tree.
Open the Filter Properties Dialog. |
|
Fully Expand Node from DB |
Expand the selected DB Navigator node and all its descendants. |
|
Refresh from Current Node |
Refresh the selected DB Navigator node. |
|
Show/Hide Details Panel |
Show / Hide details about the selected DB Navigator node.
- When you select a Schema node or Object Type node (for example, Tables or Indexes) the details pane shows a list of objects contained in that node. This list allows for selection of multiple objects for batch operations like Drop, Extract DDL, or Compile.
- When you select a specific object the details pane shows attributes of the selected object.
|
Using DB Navigator
DB Navigator displays all types of Oracle objects, giving you a hierarchical view of any schema, including dependent objects. The tree view includes nodes for "My Schema," "All Schemas," and "Current Instance."
|
The node can be expanded.
Click + to drill down to underlying objects or data.
Alternatively, press the right arrow key or the space bar while the node is selected. |
|
The node can be collapsed.
Click the – sign.
Alternatively, press the left arrow key while the node is selected. |
|
(Grayed text) |
The database object at that node is disabled or offline. |
|
(Red text) |
The database object at that node is invalid. |
|
|
TIP:
|
Filter Properties Dialog
Modules, Windows And Dialogs > DB Navigator > Filter Properties Dialog
Create or modify DB Navigator filters that restrict the display of objects in the DB Navigator tree. You can save your filters, so that they will be available from the DB Navigator toolbar.
Select filter
| Filter Name |
Select an existing filter name or enter a new one. |
Select filter settings.
| General |
Selected schemas will be visible in the DB Navigator tree when the filter is applied. |
| Global Filters |
Selected top level nodes will be visible in DB Navigator when the filter is applied. |
|
Object Filters |
Selected object types will be visible in the DB Navigator window when the filter is applied.
Application of name masks
Type the name mask in the Filter box.
Name masks are specified according to Oracle’s LIKE operator definition. For example, setting the name mask ABC% will result in displaying only those objects with names beginning with the characters "ABC".
The name mask is applied to all selected object types. Click Assign Globally.to apply the name mask to all objects. |
Describe
Modules, Windows And Dialogs > Describe
The Oracle DESCRIBE command reports the attributes, methods and arguments of an object type. The SQL Navigator Describe command works with more objects than does the SQL*Plus version of the command. You can describe not only procedures, functions, packages, synonyms, and object types, but also tables, indexes, clusters and objects.
To open the Describe window
|
Object Menu |
- Ensure the required database connection is active.
- Select the database object.
- Click Object | Describe.
|
| DB Navigator |
Right click the object in DB Navigator and select Describe. |
| Project Manager |
Right click the object in Project Manager and select Describe. |
| Code Editor |
Right click the object in Code Editor and select Describe Object at Cursor. |
| Shortcut |
Ctrl+F3 |
|
|
TIP: To keep the existing Describe window open while opening additional Describe windows, click the Pin toolbar icon in the Describe window. Set the default pin behavior in View | Preferences | General | User Interface.
- Can be used to provide a quick summary of a table or view and all its column names and data types.
|
Tips to use the Describe window
|
A quick way to construct a SELECT statement |
To drag column names into the Select statement
- In the editing window, click the cursor on the table name.
- Open the Describe window.
- Drag and drop column names from the Describe window into the SELECT statement.
|
Describe Command or Auto Describe Tool
Use either the Describe command or the Auto Describe Tool to describe an object
|
Auto Describe Tool |
Automatically see a description of any object you select.
A dockable Describe window opens and stays on top of the application window.
As you select various objects you will automatically see a description of the selected object in the Auto Describe window. |
|
Object | Describe |
Click the Describe command on the Object menu whenever needed. It opens a describe window for a single selected object and will not update automatically when you select another object. |