12.07.2015 Views

Oracle SQL Developer

Oracle SQL Developer

Oracle SQL Developer

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

7.3.13.3 Using Records ............................................................................................................ 7-187.3.14 Processing Queries with PL/<strong>SQL</strong> .................................................................................. 7-197.3.15 Using Dynamic <strong>SQL</strong> in PL/<strong>SQL</strong> .................................................................................... 7-197.3.16 Using Bind Variables........................................................................................................ 7-217.4 Handling PL/<strong>SQL</strong> Errors ....................................................................................................... 7-217.4.1 Summary of Predefined PL/<strong>SQL</strong> Exceptions............................................................... 7-217.4.2 Using the Exception Handler.......................................................................................... 7-237.4.3 Declaring PL/<strong>SQL</strong> Exceptions........................................................................................ 7-237.4.4 Scope Rules for PL/<strong>SQL</strong> Exceptions.............................................................................. 7-237.4.5 Continuing After an Exception is Raised ...................................................................... 7-248 Subprograms and Packages: Usage Information8.1 Overview of Packages and Subprograms ............................................................................... 8-18.1.1 Stored Subprograms............................................................................................................ 8-28.1.2 Packages ................................................................................................................................ 8-28.2 Managing Subprograms ............................................................................................................ 8-38.3 Managing Packages .................................................................................................................... 8-38.3.1 Calling Subprograms in Packages..................................................................................... 8-48.3.2 Accessing Variables in Packages ....................................................................................... 8-48.4 <strong>Oracle</strong> Product-Specific Packages............................................................................................. 8-59 Triggers: Usage Information9.1 Overview of Triggers.................................................................................................................. 9-19.1.1 Types of Triggers ................................................................................................................ 9-29.1.2 Naming Triggers ................................................................................................................. 9-29.1.3 When Is the Trigger Fired? ................................................................................................ 9-29.1.4 Controlling When a Trigger Is Fired ................................................................................ 9-29.1.4.1 Firing Triggers With the BEORE and AFTER Options ........................................... 9-29.1.4.2 Firing Triggers With the FOR EACH ROW Option ............................................... 9-39.1.4.3 Firing Triggers Based on Conditions (WHEN Clause) .......................................... 9-39.1.5 Accessing Column Values in Row Triggers .................................................................... 9-39.1.6 Detecting the DML Operation That Fired a Trigger....................................................... 9-49.1.7 Enabled and Disabled Trigger Modes .............................................................................. 9-49.1.8 Error Conditions and Exceptions in the Trigger Body .................................................. 9-49.2 Designing Triggers ..................................................................................................................... 9-59.2.1 Guidelines For Triggers ...................................................................................................... 9-59.2.2 Restrictions on Creating Triggers ..................................................................................... 9-59.2.3 Privileges Needed to Work with Triggers ...................................................................... 9-610 <strong>SQL</strong>*Plus: Usage Information10.1 Overview of <strong>SQL</strong>*Plus ............................................................................................................ 10-110.2 Using <strong>SQL</strong>*Plus ........................................................................................................................ 10-110.2.1 Starting and Exiting <strong>SQL</strong>*Plus........................................................................................ 10-210.2.2 Displaying Help With <strong>SQL</strong>*Plus .................................................................................... 10-210.2.3 Entering and Executing <strong>SQL</strong> Statements and Commands ......................................... 10-210.2.4 <strong>SQL</strong>*Plus DESCRIBE Command .................................................................................... 10-3viii

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!