Book Image

Oracle SQL Developer

By : Susan Harper
Book Image

Oracle SQL Developer

By: Susan Harper

Overview of this book

At times, DBAs support 100s of databases at work. In such scenarios, using a command-line tool like putty adds to the difficulty, while SQL Developer makes the life of a developer, DBA, or DB architect easier by providing a graphical user interface equipped with features that can bolster and enhance the user experience and boost efficiency. Features such as DBA panel, Reports, Data Modeler, and Data Miner are just a few examples of its rich features, and its support for APEX, REST Services, timesten, and third-party database drivers demonstrate its extensibility. You may be a newbie to databases or a seasoned database expert, either way this book will help you understand the database structure and the different types of objects that organize enterprise data in an efficient manner. This book introduces the features of the SQL Developer 4.1 tool in an incremental fashion, starting with installing them, making the database connections, and using the different panels. By sequentially walking through the steps in each chapter, you will quickly master SQL Developer 4.1.
Table of Contents (21 chapters)
Oracle SQL Developer
Credits
About the Author
About the Reviewer
www.PacktPub.com
Preface
11
Working with Application Express
Index

Chapter 4. Working with PL/SQL

Unique to the Oracle database, PL/SQL code forms the core of many Oracle database applications. Whether a database-centric application or one using open source technologies, if the Oracle database underpins the application, PL/SQL code is almost certainly present and is stored in the database or sent in blocks of code to the database for execution. PL/SQL is a language extension to SQL, offering a procedural language structure in the Oracle Database, which is required for more complex application development. SQL Developer supports PL/SQL development by allowing you to work with text files or develop and test code directly against the database.

In this section, we will review this support and show you how to create, compile, and debug PL/SQL and look at a number of useful features available to facilitate writing PL/SQL. This chapter is not about teaching PL/SQL or best practice programming techniques. Instead, the examples used here serve to illustrate how the...