Download DB DEVELOPER - %%http://ocw.stikom.edu%%

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts
no text concepts found
Transcript
MATERI
Procedures
Functions
Packages
Database Triggers
PL/SQL
Oracle Developer
PL/SQL
Introduction
About PL/SQL
• PL/SQL is the procedural extension to
SQL with design features of programming
langguages
• DML and query statements of SQL are
included within procedural units of code
PL/SQL Environment
PL/SQL engine
PL/SQL
PL/SQL
Block
PL/SQL
Block
SQL
SQL statement executor
Oracle Server
Procedural
Statement
Executor
Benefits of PL/SQL
Integration
Application
Shared library
Oracle Server
Benefits of PL/SQL
Improved Performance
SQL
Application
SQL
SQL
Other DBMSs
SQL
Application
SQL
IF...THEN
SQL
ELSE
SQL
END IF;
SQL
Oracle with
PL/SQL
Benefits of PL/SQL
Modularize program development
DECLARE
BEGIN
EXCEPTION
END;
Benefits of PL/SQL
• It is portable.
• You can declare identifiers.
• You can program with procedural language
control structures.
• It can handle errors.
Benefits of Subprograms
•
•
•
•
Easy maintenance
Improved data security and integrity
Improved Performance
Improved code clarity
Invoking Subprograms
LOG_EXECUTION
procedure
Developer
Portal
Discoverer
Another
Proc. or
Functions
iSQL*Plus
PROCEDURE
leave_emp
Related documents