Schema Doc for Oracle - 1.0
Learning Schema Doc for Oracle - 1.0
Generating and viewing documentation
This worked example demonstrates how to generate database documentation for a schema in an Oracle database.
The example has six steps:
- Setting up the example schema
- Setting up the documention project
- Viewing the schema objects
- Selecting the schemas and objects to document
- Generating the documentation
- Viewing the documentation
1. Setting up the example schema
The worked example uses the WIDGETDEV schema. To create the schema on your Oracle server:
- Click here to view the SQL creation script for the schema.
- Copy this script, paste it into your SQL editor, and run it on any database you choose.
The schema is created.
2. Setting up the documentation project
- If you have not yet started Schema Doc for Oracle, select it from your Start menu; if it is already running, click
New Project to open the Project Configuration dialog box. - On the Connection tab, enter connection details for the database on which you set up the WIDGETDEV schema.
- in the User name box, type WIDGETDEV, and in the Password box, type password.
In this example we set up the schema on the DEVELOPMENT database:

- Under Schemas, click Refresh list, and select the schema you want to document from the list.
In this example we will document the WIDGETDEV schema:

- Click OK.
3. Viewing the schema objects
To view the objects in the WIDGETDEV schema, click
to expand the schema.

Click an object to see a preview the documentation for that object.
For example, if you click the WIDGETPRICES table, the preview pane displays the table's properties, column details, and its SQL creation script:

4. Selecting the schemas and objects to document
To include objects in the documentation, you select the objects using the check boxes.
In this example, we will select all the tables and the PRCACTIVATEPRICES stored procedure.
- Select the Tables check box; all the tables in the database are selected.
- Under Procedures, select the check box for the PRCACTIVATEPRICES procedure.

5. Generating the documentation
Now that we have selected the objects we want to document, we can generate the documentation:
- Click
Generate Documentation.
- On the Generate Documentation dialog box, in the Save in box, specify the location where you want Schema Doc for Oracle to create the documentation.
- Select an Output style. For this example, we will generate a HTML web page.
- Select the Open documentation on completion check box.
- Click Generate Documentation to start generating the documentation.
- Click OK to close the message box.
- Click
Save Project on the Schema Doc for Oracle toolbar to save the project. The project configuration, object-selection, and generation settings are stored so they are available next time you open the project.
6. Viewing the documentation
Schema Doc for Oracle opens the database documentation in your default web browser:

If JavaScript is not enabled by your web browser, a message is displayed to inform you that you cannot use the navigation on the left of the window.
Was this article helpful?
all SQL products
- Compatibility of Red Gate tools in 64-bit environments
- Application has encountered an error and needs to close
- Error message after installing SQL Toolbelt - The description for Event ID ( 1 ) in Source ( nview_info ) cannot be found.
- Changing the temporary directory used by the installer
- Toolbelt Installer "hanging" while "scanning volumes"
- Login failing with "trusted SQL Server connection" error when using RunAs
all products
- Some Red Gate products identified as containing a trojan by Anti-Virus software
- Activation may fail with Unknown Error -1
- Product uses web help although a CHM file is available locally
- Argument exception resulting from missing environment variable
- Check for updates may fail when used through proxies
- 'Unidentified Publisher' error when repairing or uninstalling
- Licensing activates product as standard edition
- Moving Red Gate software products to another machine
- Red Gate tools log locations
- The application UI opening slowly when there is no internet access
all SQL products
all products
- Red Gate product acknowledgements
- Activating your products
- Activating your products
- Red Gate bundle history
- Check for updates
- Troubleshooting Check for Updates errors
- Current versions
- Deactivating your products
- Installing Red Gate products from the .msi file
- Requesting additional activations
- Serial numbers for bundles
- Reactivating using a different serial number
- Extending your trial
- Finding your serial numbers
- Moving a serial number from one computer to another
- No response received for manual activation
- Licensing and activation resources
- Licensing and activation resources
- Troubleshooting licensing and activation errors
- Licensing and activation FAQs
- Red Gate tools log file locations
- Download old versions of products
- Download product prerequisites & utilities
- Support & upgrades
- Upgrading your software
- Upgrading FAQs

Using Schema Doc for Oracle