Programming in Oracle with PL/SQL
Programming in Oracle with PL/SQL
Procedural Language Extension to SQL
Overview
? Overview of PL/SQL ? Data type and Variables ? Program Structures ? Triggers ? Database Access Using Cursors ? Records ? PL/SQL Tables ? Built-in Packages ? Error-Handling ? PL/SQL Access to Oracle 10g Objects
PL/SQL
? Allows using general programming tools with SQL, for example: loops, conditions, functions, etc.
? This allows a lot more freedom than general SQL, and is lighter-weight than JDBC.
? We write PL/SQL code in a regular file, for example PL.sql, and load it with @PL in the sqlplus console.
Other Databases
? All have procedural facilities ? SQL is not functionally complete
? Lacks full facilities of a programming language
? So top up functionality by embedding SQL in a procedural language
? PL/SQL techniques are specific to Oracle
? but procedures and functions can be ported to other systems
Why use PL/SQL
? Manage business rules ? through middle layer application logic.
? Generate code for triggers ? Generate code for interface ? Enable database-centric client/server
applications
................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related download
- sams teach yourself oracle pl sql in 10 minutes
- doing sql from pl sql best and worst practices
- oracle xml db best practices to get optimal performance
- database programming with pl sql
- migrating non oracle databases and their applications to
- database system security
- cs405 database programming using oracle 11g
- mastering oracle pl sql practical solutions
- chapter 8 advanced sql
- 60 415 assignment 2 solution sql ddl and pl sql total