ORSYS formation
CONTACT - +352 26 49 79 1204
CONTACT - 📞 +352 26 49 79 1204    drapeau francais   drapeau anglais

Consult our trainings :

> formation Technologies numériques > formation SGBD > formation Oracle > formation Développer en PL/SQL

Développer en PL/SQL Training

Stage pratique
Best
Duration : 3 days
Ref : ORD
Price  2020 : Contact us
  • Program
  • Participants / Prerequisite
  • Intra/Tailored
Program

The purpose of the PL/SQL course is to master PL/SQL language and the use of stored procedures and triggers in applications. Each concept covered is put into practice.

PROGRAM

Introduction and refresher

  • Transactional processing in Oracle.
  • Objects and dictionary of an Oracle database.
  • SQL and PL/SQL. Overview of PL/SQL.
  • Tools used. Oracle documentation.

Language elements

  • Host environments. Introduction to syntax Declaring PL/SQL variables and constants.
  • Types of data and conversion. Predefined functions.
  • Control instructions: IF- ELSE, WHILE loops, FOR loops.
  • Composite types: records, indexed tables.
  • Object types. Defining subprograms.
  • Configuring subprograms.

Exercise
Declaring variables. Changing the date. Typing attributes Using collections and their methods.

Access to the database

  • The database and the notion of a cursor.
  • Access via implicit cursor: update, delete, insert, select. Using RETURNING and BULK COLLECT clauses.
  • Collections and FORALL.
  • Cursor FOR loops. Update cursors.
  • Explicit cursors. Cursor variables.

Exercise
Using explicit cursors and BULK COLLECT.

Stored procedures

  • Managing stored subprograms, stored libraries and packages
  • Managing stored procedures: Access rights, dictionary views, and dependency.
  • Using packages.

Exercise
Creating procedures, stored functions, and packages.

Error management

  • Handling an exception.
  • Using RAISE_APPLICATION_ERROR.
  • Triggering an exception via RAISE.
  • Propagation and transaction management.

Exercise
Using Raise and RAISE_APPLICATION_ERROR.

Triggers

  • Definition and types of Event/Action triggers. Order triggers.
  • Lines (using: NEW and: OLD), E/C/A (Event/Condition/Action).
  • “INSTEAD OF“ on views, on system events.
  • Using autonomous transactions.

Exercise
Creating order triggers and line triggers.

Complements

  • Dynamic SQL. Uusing dbms_application_info and WRAP to hide the source code.
Participants / Prerequisite

» Participants

Designers, developers, and anyone involved in development using an Oracle database.

» Prerequisite

Good knowledge of SQL.
Intra/Tailored

Contact Informations

By checking this box, I certify that I have read and accepted the conditions for the use of my data regarding the General Data Protection Regulation (GDPR).
You can at any time modify the use of your data and exercise your rights by sending an email to rgpd@orsys.fr
By checking this box, I agree to receive commercial and promotional communications from ORSYS Training*. You can unsubscribe at any time by using the link included in our communications.

Book your place

Click on a session for reserving.

Time schedule

Generally, courses take place from 9:00 to 12:30 and from 14:00 to 17:30.
However, on the first day attendees are welcomed from 8:45, and there is a presentation of the session between 9:15 and 9:30.
The course itself begins at 9:30. For the 4- or 5-day hands-on courses, the sessions finish at 15:30 on the last day
linkedin orsys
twitter orsys
it! orsys
instagram orsys
pinterest orsys
facebook orsys
youtube orsys
LA LETTRE DE
LA TRANSFORMATION DIGITALE
Recevez la newsletter