Oracle SQL,PL/SQL

What is PL/SQL Block

What is PL/SQL Block | TechTweet
Avatar of shohal
Written by shohal

PL/SQL Block

Program written in PL/SQL language as divided into blocks.Block are basic programming units in PL/SQL language.PL/SQL contain set of instruction for oracle to execute.

Types of PL/SQL Blocks:

  1. Anonymous Block
  2. Named Block

Anonymous Block: As title of anonymous block do not have any name and they cannot be store in database.

Named Block : Named PL/SQL block that one have a name and creating subroutine such as procedure, function and package .

PL/SQL Block Structure :

Declare -Optional

— variable , cursors,user-define exceptions

Being -Mandatory

–SQL Statement

–PL/SQL Statement

Exception -Optional

–Actions to perform when errors occur

End-Mandatory

About the author

Avatar of shohal

shohal

I have profession and personal attachment with custom ERP Software development, Business Analysis, Project Management and Implementation almost (36) ,also Oracle Apex is my all-time favorite platform to developed the software. Moreover i have some website development experience with WordPress. For hand on networking experience DevOps and CCNA, it create me a full package. Here are some core programming language with networking course i have been worked: Oracle SQL ,PL/SQL,Oracle 19c Database , Oracle Apex 20.1,WordPress,Asp.Net ,MS SQL ,CCNA ,Dev Ops, SAP SD

Leave a Comment