Oracle9i PL/SQL Language Introduction

This 2-day course details the grammer, syntax and benefits of using the PL/SQL language within an Oracle database environment. On course completion, students will understand:

  • Declaring variables and complex datatypes
  • Developing logic within PL/SQL program blocks
  • Fetching data from the database into program variables
  • Returning program output to users
  • Handling program exceptions
  • Using explicit and implicit database cursors
  • Using the advanced features of nested blocks and subprograms

 

key facts buy online

• code: d002eng
• 2 days
Download outline
Download sample
• Print licence available

Student edition
A4 format
A5 format
Instructor edition
A4 format
A5 format

Target audience

This course has been developed for all Oracle professionals including developers, database administrators, designers and analysts. Students should have attended the following courses or have equivalent knowledge and experience:

  • Introduction To Oracle9i: SQL
  • Introduction To Oracle9i: Advanced SQL
Course content

Language features Why use PL/SQL? • Where PL/SQL program units may be deployed • The Java alternative to PL/SQL • Structure of a PL/SQL program block • PL/SQL from interactive tools • Generating output

Declare clause Datatypes • Declare example • Special datatypes • %TYPE variable • %ROWTYPE record • TYPE table

Begin clause Data manipulation • CHAR and VARCHAR • Numeric • Date • Boolean • Comparison operators • Functions • Date calculations • SELECTINTO • Logic control and branching • GOTO • LOOP • IF-THEN-ELSE • CASE

Exception Handling exception • Special features • System defined exceptions • Using SQLCODE and SQLERRM • Implicit cursors • USER-DEFINED EX_INED • PRAGMA EXCEPTION_INIT

Explicit cursors Understanding cursors • Explaining the cursor example • Declare cursor E • OPEN cursor example • FETCH cursor example • CLOSE cursor example • Including cursor parameters • Performing updates from cursors • Using FORLOOP cursors

Advanced Using nested blocks • Using declared subprograms • DISPLAY_MESSAGE() procedure example • GET_SPOUSE_NAME() function example


About Courseware Company :: Instructor-led training courseware :: Self-study solutions :: Buy online today

A gtslearning business division :: gtslearning CompTIA learning solutions ::Contact us :: Site map
© gtslearning, 2008. All rights reserved. Ownership of all trademarks and service marks is observed and respected.