Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Objectives
After completing this appendix, you should be able to do the following: List the key features of Oracle SQL Developer Install Oracle SQL Developer Identify menu items of Oracle SQL Developer Create a database connection Manage database objects Use the SQL Worksheet Execute SQL statements and SQL scripts Edit and debug PL/SQL statements Create and save reports
C-2
SQL Developer
C-3
Key Features
Developed in Java Supports Windows, Linux, and Mac OS X platforms Default connectivity by using the JDBC Thin driver Does not require an installer Connects to any Oracle Database version 9.2.0.1 and later Bundled with JRE 1.5
C-4
C-5
2 1 3
4 5
C-6
SQL Developer automatically imports any connections defined in the tnsnames.ora file on your system. You can export connections to an XML file. Each additional database connection created is listed in the Connections Navigator hierarchy.
C-7
C-8
C-9
Edit the objects using an edit dialog box or one of the many context-sensitive menus. View the DDL for adjustments such as creating a new object or editing an existing schema object.
C - 10
C - 11
C - 12
1 3
C - 13
C - 14
C - 15
After formatting
C - 16
Using Snippets
Snippets are code fragments that may be syntax or examples.
C - 17
Inserting a snippet
C - 18
Using SQL*Plus
The SQL Worksheet does not support all SQL*Plus statements. You can invoke the SQL*Plus command-line interface from SQL Developer.
C - 19
C - 20
C - 21
2
C - 22
C - 23
C - 24
Debugging PL/SQL
C - 25
Database Reporting
SQL Developer provides several predefined reports about the database and its objects.
C - 26
C - 27
Summary
In this appendix, you should have learned how to use SQL Developer to do the following: Browse, create, and edit database objects Execute SQL statements and scripts in the SQL Worksheet Edit and debug PL/SQL statements Create and save custom reports
C - 28