This tool provides you a simple browser for exploring database schema objects. Initially it can be said that the browser also provides a browser like functionality for the template help (see Template Help) which is covered separately. This browser will provide you with more information and you will also in future versions of TOra be able to interact with schema objects (Dropping or create tables etc.), this is not fully possible in the current version. The template help on the other hand is tree based and some people consider it easier and faster to work with.
The schema browser has a very simple interface with a toolbar which contains the following functions. All of these are also available in the Browser menu item except for the schema selection and change object.
The rest of the interface consists of two tabbed windows, one within the other. The first one you can use to select the object type you want to inspect. When you have selected a type you can see the visible objects of the specified type available in the selected schema. The second tab indicates what kind of information you want to explore about the selected object and depends on the object type ( .). When you select an object name in the left list you can inspect information about it to the right.
You can move the keyboard focus to the schema selection using ALT+S and to the current object list using ALT+N.
This is the available information for the different object types.
Object type | Name | Description
|
---|---|---|
Tables |
| |
Columns | A description of the columns in the table. For more information about this information also see object description.
| |
Indexes | A list with the indexes that have been created for this table.
| |
Constraints | Displays constraints associated with this table.
| |
References | Displays the foreign key constraints that references this table and the other objects that have dependencies on this table.
| |
Grants | The grants that have been made on this table.
| |
Triggers | Lists the triggers that exist for this table.
| |
Data | Displays the data in the table. This is the only part of the database browser that let you modify any data. For more information about how to use the content editor
.
| |
Information | Contains information about the table available in the SGA including analysed statistics etc.
| |
Partitions | TODO.
| |
Extents | TODO.
| |
Script | This tab displays an SQL script to recreate the database object.
| |
Views |
| |
Columns | A description of the columns in the view. For more information about this information also see object description.
| |
SQL | The SQL that defines the view.
| |
Data | Displays the data in the view. This is the only part of the database browser that let you modify any data. For more information about how to use the content editor (
). You can not modify some views depending on how they are defined. See the Oracle reference for more information about editing views. | |
Grants | The grants that have been made on this view.
| |
Dependencies | The objects that depend on this view.
| |
Script | This tab displays an SQL script to recreate the database object.
| |
Indexes |
| |
Columns | The columns that the index operate on.
| |
Information | Information in the SGA about an index. For instance analyzed statistics available for this index.
| |
Extents | TODO.
| |
Script | This tab displays an SQL script to recreate the database object.
| |
Sequences |
| |
Info | Information about the sequence.
| |
Grants | The grants that have been made on this object.
| |
Script | This tab displays an SQL script to recreate the database object.
| |
Synonyms |
| |
Info | Information about the synonyms
| |
Grants | The grants that have been made on this object.
| |
Script | This tab displays an SQL script to recreate the database object.
| |
Code |
| |
Declaration | The declaration of a package or type.
| |
Body | The implementation of a package, body, procedure or function.
| |
Grants | The grants that have been made on this object.
| |
Dependencies | Dependencies this object has.
| |
Script | This tab displays an SQL script to recreate the database object.
| |
Triggers |
| |
Info | Information about the trigger.
| |
Code | The code that implement the trigger.
| |
Columns | The columns this trigger operates on.
| |
Grants | The grants that have been made on this object.
| |
Dependencies | Dependencies of this object.
| |
Script | This tab displays an SQL script to recreate the database object.
| |
DBLinks |
| |
Info | Information about the trigger.
| |
Synonyms | TODO.
| |
|
The content editor lets you edit the contents of a table or view. There are a few things to note about this.
First of all the content editor is designed to behave nicely to the database which means that it will only save the data when it thinks you are finished editing a row. This happens when you save the current row change or you commit the database. When there is unsaved data you can see it in the status bar that there exists unsaved data. Also observe that the content editor will respect the auto commit setting in the database settings.
The content editor has it's own toolbar with the following buttons.
The content editor can define a filter to specify which part of a table to edit. This dialog looks like this.
In the selection criteria part you can add whatever you want to go after a where in a select statement. In the sort order you can list the columns you want to sort on. The sort order only affect the order the records are read from the database, after they are read you can still sort on any column by clicking it. To the right is a list of available columns in the table.
Finally at the bottom is a checkbox called use for all tables. If this box is checked the index is used for all tables, if not checked you can define specific filters for each tables and the content editor will remember the different filters as you jump between tables. The reason for this is that it's quite common that not all tables have all the columns you want to filter on for a table, in this case you will get an error trying to access the table with a faulty filter setting.
Filtering is based on the object name and can be specified in a variety of ways. This is the dialog used to specify the filter.
The most important part of this dialog is the editor which lets you specify the string to apply the criteria to. This is not available for No filter setting. The different available types and options are.
Some objects you can also search on what tablespace they are located on. This can be specified by the lower part of the dialog.