50% found this document useful (2 votes)
3K views

Database Programming With PL/SQL 1-2: Practice Activities

PL/SQL allows for building applications that integrate procedural logic with SQL statements. It offers portability by running on any Oracle database server. Code is organized into blocks, which are the basic unit of a PL/SQL program. Exceptions can occur at runtime and need to be handled. Using PL/SQL with an Oracle database improves performance by reducing network traffic compared to separate SQL statements. It also enables exception handling. While similar, PL/SQL is tailored specifically for Oracle databases whereas C and Java are general purpose languages. Examples of what can be built with PL/SQL include web applications, managing application and database administration tasks.

Uploaded by

Santiago Lara
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
50% found this document useful (2 votes)
3K views

Database Programming With PL/SQL 1-2: Practice Activities

PL/SQL allows for building applications that integrate procedural logic with SQL statements. It offers portability by running on any Oracle database server. Code is organized into blocks, which are the basic unit of a PL/SQL program. Exceptions can occur at runtime and need to be handled. Using PL/SQL with an Oracle database improves performance by reducing network traffic compared to separate SQL statements. It also enables exception handling. While similar, PL/SQL is tailored specifically for Oracle databases whereas C and Java are general purpose languages. Examples of what can be built with PL/SQL include web applications, managing application and database administration tasks.

Uploaded by

Santiago Lara
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

www.oracle.

com/academy

Database Programming with PL/SQL


1-2: Benefits of PL/SQL Practice
Activities
Vocabulary
Identify the vocabulary word for each definition below:

The ability for PL/SQL programs to run anywhere an Oracle


Portability
server runs.
Blocks
The basic unit of PL/SQL programs- also known as modules.
An error that occurs in the database or in a users program
Exception
during runtime.

Try It / Solve It
1. Why is it more efficient to combine SQL statements into PL/SQL blocks?
An application is more efficient when created in PL/SQL blocks; there is less
network traffic, resulting in a faster application.

2. Why is it beneficial to use PL/SQL with an Oracle database? List at least three
reasons.
Integration of procedural constructs with SQL.
Improve Performance.
Exception handling.

3. How is PL/SQL different from C and Java? List three differences.


PL/SQL requires a database or Oracle tool.
PL/SQL allows for some object-oriented programming techniques, but is not as
extensive as Java.
PL/SQL is the most efficient language to use with an Oracle database.

4. List three examples of what you can build with PL/SQL code.
Create Web and other applications
Manage application data
Manage the Oracle database

You might also like