Using SQL Schema Viewer

OEPE allows you to examine your database schema using SQL Schema Viewer that displays tables and relationships between them.

The viewer displays tables as table nodes. Each node lists all the columns in a table and shows column data types. The node also provides primary and foreign key indicators in a form of icons. Foreign key relationships between tables are represented by links in a form of arrows.

To use the SQL Schema Viewer:

  1. Click Window > Show View > Data Source Explorer from the top-level menu. This will open the Data Source Explorer view.

  2. Set up and configure a database connection.

  3. Expand the database connection node to the database, and then to the schema or a particular table in the schema.

  4. Right-click on the schema or table name, and select Show in Schema Viewer. This will open the schema viewer displaying the schema.

Notice that if you open the viewer from a table, this table will be selected in the viewer (similar to the EMPLOYEE table.

Using the schema viewer, you can do the following: