PL/SQL basic and advanced questions and answers

PL/SQL is a transaction processing language that offers the following advantages: support for SQL - SQL is flexible, powerful and easy to learn...
The order of the parts is quite logical: First comes the declarative part, in which items can be declared. Items can be manipulated in the executable part...
PL/SQL program for a trigger - PL/SQL program for tracking operation on a emp table...
SQLCODE: It returns the error number for the last encountered error. SQLERRM:...
SQL is Structured Query Language comprising of Data Definition Language (DDL) and Data Manipulation Language (DML)...
Write a PL/SQL program for a function - PL/SQL program...
What are the types PL/SQL code blocks? - Anonymous Block: It is a block of codes without a name...
Advantages of PL/SQL - Support SQL data manipulation, Provide facilities like conditional checking, branching and looping...