What is PL/SQL? Full Form, Architecture of PL/SQL Developer

What is PL/SQL?

Oracle PL/SQL is an extension of SQL language that combines the data manipulation power of SQL with the processing power of procedural language to create super powerful SQL queries. PL/SQL ensures seamless processing of SQL statements by enhancing the security, portability, and robustness of the Database.

PL/SQL means instructing the compiler 'what to do' through SQL and 'how to do' through its procedural way. Similar to other database languages, it gives more control to the programmers by the use of loops, conditions and object-oriented concepts. The PL/SQL Full form is "Procedural Language extensions to SQL".

In this PL/SQL Tutorial, you will learn PL/SQL basics-

What is PL/SQL Developer?

PL/SQL Developer is a free Integrated Development Environment provided by Oracle to develop Software in Oracle Database environment and perform various Database tasks with ease. The PL/SQL Developer IDE provides with GUI and Plugins to use in order to help the end users save the time on their Database tasks.

Architecture of PL/SQL

The Below PL/SQL Example is a pictorial representation of PL/SQL Architecture.

Introduction to PL/SQL

PL/SQL Architecture Diagram

The PL/SQL architecture mainly consists of following three components:

  1. PL/SQL Block
  2. PL/SQL Engine
  3. Database Server

PL/SQL block:

PL/SQL Engine

Database Server:

Features & Advantages of PL/SQL

  1. Better performance, as SQL is executed in bulk rather than a single statement
  2. High Productivity
  3. Tight integration with SQL
  4. Full Portability
  5. Tight Security
  6. Supports Object Oriented Programming concepts.
  7. Scalability and Manageability
  8. Supports Web Application Development
  9. Supports Server Page Development

Disadvantages of PL/SQL

  1. Stored Procedures in PL/SQL uses high memory
  2. Lacks functionality debugging in stored procedures
  3. Any change in underlying database requires change in the presentation layer also
  4. Does not completely separate roles of back-end developer and fron-end developer
  5. Difficult to separate HTML development with PL/SQL development

Difference between SQL and PL/SQL

SQL

PL/SQL
  • SQL is a single query that is used to perform DML and DDL operations.
  • PL/SQL is a block of codes that used to write the entire program blocks/ procedure/ function, etc.
  • It is declarative, that defines what need to be done, rather than how things need to be done.
  • PL/SQL is procedural that defines how the things needs to be done.
  • Execute as a single statement.
  • Execute as a whole block.
  • Mainly used to manipulate data.
  • Mainly used to create an application.
  • Interaction with a Database server.
  • No interaction with the database server.
  • Cannot contain PL/SQL code in it.
  • It is an extension of SQL, so that it can contain SQL inside it.

 

YOU MIGHT LIKE: