App e
App e
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 SQL Worksheet Execute SQL statements and SQL scripts Create and save reports
E-2
Oracle SQL Developer is a graphical tool that enhances productivity and simplifies database development tasks. You can connect to any target Oracle database schema using standard Oracle database authentication.
E-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
E-4
Download the Oracle SQL Developer kit and unzip into any directory on your machine.
E-5
2 1 3
4 5
E-6
You must have at least one database connection to use SQL Developer. You can create and test connections:
For multiple databases For multiple schemas
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.
E-7
E-8
Use the Database Navigator to: Browse through many objects in a database schema Do a quick review of the definitions of objects
E-9
Edit the objects by using an edit dialog or one of many context-sensitive menus. View the DDL for adjustments such as creating a new object or editing an existing schema object.
E - 10
E - 11
E - 12
1 3
E - 13
E - 14
E - 15
After Formatting
E - 16
Using Snippets
Snippets are code fragments that may be just syntax or examples.
E - 17
Inserting a snippet
E - 18
Using SQL*Plus
SQL Worksheet does not support all SQL*Plus statements. You can invoke the SQL*Plus command-line interface from SQL Developer.
E - 19
Database Reporting
SQL Developer provides a number of predefined reports about the database and its objects.
E - 20
E - 21
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 SQL Worksheet Create and save custom reports
E - 22