0% found this document useful (0 votes)
59 views19 pages

Release Date: August, 2016 Updates

PL/SQL was developed to improve performance when interacting with Oracle databases. It allows sending blocks of code to the database rather than individual SQL statements, reducing communication overhead. PL/SQL variables and functions are executed directly in the database's memory space. Integration with Oracle tools also allows PL/SQL to trigger automatically based on database events. While more limited than languages like Java and C, PL/SQL is optimized for database access and integration, making it highly efficient for managing and interacting with Oracle data.

Uploaded by

Georgiana Elena
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
59 views19 pages

Release Date: August, 2016 Updates

PL/SQL was developed to improve performance when interacting with Oracle databases. It allows sending blocks of code to the database rather than individual SQL statements, reducing communication overhead. PL/SQL variables and functions are executed directly in the database's memory space. Integration with Oracle tools also allows PL/SQL to trigger automatically based on database events. While more limited than languages like Java and C, PL/SQL is optimized for database access and integration, making it highly efficient for managing and interacting with Oracle data.

Uploaded by

Georgiana Elena
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 19

Release Date: August, 2016

Updates:
2
3
4
All of these benefits have a major impact on why PL/SQL was developed and how it is used.

5
Integration is a fantastic process. You can get your data to accomplish all types of tasks that are needed for
businesses.

6
Good programming practice uses modular programs to break program control into sections that may be
easier to understand and maintain.

7
8
Sending blocks of code to the database, instead of separate lines of SQL code, makes the program process
faster.

The following features also result in improved performance:


PL/SQL variables store data in the same internal binary format as the database does, so no data conversion
is needed.
PL/SQL is executed in the same memory space as the Oracle server and therefore there is no
communications overhead between the two programs.
PL/SQL functions can be called directly from SQL.
A special kind of PL/SQL procedure, called a trigger, can execute automatically whenever something
important happens in the database.

9
Oracle has tools for various tasks and PL/SQL is integrated into these tools.

10
11
12
13
14
PL/SQL requires an Oracle database or tool. You cannot create a PL/SQL program that runs all by itself. C
and Java programs do not require an Oracle database to run or compile. You can develop standalone
programs using Java and C.
PL/SQL has included some object-oriented features such as abstract data types, multi-level collections,
encapsulation, function overloading, and inheritance. Java is an object-oriented programming language and
C is not.
PL/SQL is tightly integrated with an Oracle database and is therefore highly efficient when accessing data.
Java and C are less efficient because they are not as integrated with the database.
PL/SQL is compatible with Oracle databases on different operating systems. Java also is highly portable.
Different C compilers and libraries are not 100% compatible on different operating systems.
PL/SQL is relatively easy to learn in relation to Java and C.

15
16
Blocks – The basic unit of PL/SQL programs; also known as modules.
Portability – The ability for PL/SQL programs to run anywhere an Oracle server runs.
Exceptions – An error that occurs in the database or in a user’s program during runtime.

17
18

You might also like