Skip to content

Latest commit

 

History

History
82 lines (43 loc) · 2.13 KB

File metadata and controls

82 lines (43 loc) · 2.13 KB

Create Report as XML Extension

1. Start SQL Developer

Start SQL Developer.

2. Create Report

Select View->Reports in the main menu.

Reports

Right click on User Defined Reports and select New Report....

New Report...

and you get this Create Report dialog:

Create Report

Enter All objects in the name field and

select * from all_objects
order by owner, object_type, object_name

in the SQL field and press the Apply button.

User Defined Reports is shown in italic letters.

User Defined Reports (unsaved)

This means that the report is not yet saved. Press the Save All button in the toolbar to save the report.

Save All

Click on the All Objects report and select a connection from the Select Connection dialog to show the report.

Select Connection

3. Save Report as XML File

Right click on the All Objects report and select Save As....

Save As...

And save the report as all_objects.xml in a folder of your choice.

4. Delete Report

Right click on the All Objects report and select Delete and confirm the deletion.

Save As...

5. Configure Report as XML Extension

Select Tools->Preferences from the main menu.

Preferences

In the preferences dialog click on User Defined Extensions under the Database node.

Preferences

Press the Add Row button and select REPORT in the type field and browse for the previously saved all_objects.xml.

Preferences

And press the OK.

6. Restart SQL Developer

You must restart SQL developer for the changes to take effect. Close SQL Developer and start it again.

7. Run Report

Now you find the All Objects report in the Report window under the Shared Report node.

Shared Reports

Click on All Objects to run it.