Creating Reports in Oracle SQL Developer 4.0
Overview
Purpose
This tutorial shows you how to create user-defined reports and generating them into PDF using Oracle SQL Developer 4.0.
Time to Complete
Approximately 25 minutes
Introduction
Oracle SQL Developer reports enable you to view information about (and information stored in) Oracle Database. In addition to the standard database reports offered in SQL Developer, you can create your own reports.
This tutorial covers the following activities in SQL Developer 4.0:
Prerequisites
Before starting this tutorial, you should have:
- Oracle Database 12c software available on the Oracle Technical Network (OTN) at Oracle Database Software Downloads
- Access to a privileged user like SYSTEM and to the HR sample schema
- Oracle SQL Developer 4.0 software available on the OTN at Oracle SQL Developer 4.0
Setting up the Environment
In this section, you set up the users and connections for the tutorial.
Creating a Report
In this section, you create a report that displays information from the Departments table of the HR schema.
Adding a Child Report
You can create a child report (Employees) by editing the master report (Departments).
Generating a PDF Report
You can use SQL Developer to create PDF versions of your reports and add password protection for PDF reports that contain sensitive data.
Preparation: Creating a SQL Developer Report with Sensitive Data
Create a SQL Developer report containing employee salary information.
Setting PDF Report Options
Adjust PDF report settings to provide the appropriate look and feel for your PDF report.
Exporting to PDF
When a report is open, you can export it into PDF format. Export the EmpSalary report from SQL Developer to produce a PDF report.
Adding Password Protection
To provide security for sensitive information, SQL Developer provides options for encryption and password protection of your PDF reports.
Congratulations! You have completed the tutorial.
Summary
- Set Up the Environment
- Create a report
- Add a child report
- Generate a PDF report
- Password protect a PDF report
- Oracle Database Concepts - 12c Release 1 (12.1) available at Oracle® Database Concepts 12c Release 1 (12.1)
- Oracle Technology Network at Oracle Technology Network
- To learn more about Oracle technologies, visit the Oracle Learning Library
- Lead Curriculum Developer: Pete DeHaan
- Other Contributors: Ashley Chen, Nancy Greenberg
This brief tutorial showed you how to create reports using SQL Developer 4.
You learned how to:
Resources
For more information about creating reports using SQL Developer 4 and about Oracle databases, see the following Oracle resources:
Credits
To navigate this Oracle by Example tutorial, note the following:
- Hide Header Buttons:
- Click the title to hide the buttons in the header. To show the buttons again, click the title again.
- Topic List:
- Click a topic to navigate to that section.
- Expand All Topics:
- Click the button to show or hide the details for the sections. By default, all topics are collapsed.
- Hide All Images:
- Click the button to show or hide the screenshots. By default, all images are displayed.
- Print:
- Click the button to print the content. The content that is currently displayed or hidden is printed.
To navigate to a particular section in this tutorial, select the topic from the list.