PLSQL Procedure is a PLSQL block with a name and declared with PROCEDURE keyword. It may accept some input arguments, and perform some activities. A procedure does not return a…
Category: SQL
Web applications or desktop applications need database to store the data. SQLite is a lightweight and efficient Relational Database Management System (RDBMS). It integrates easily if you use it as…
Triggers which are executed only once for all rows in the transaction are called Statement Level Triggers. These triggers, when fired, make changes in the affected row in one go.…
PL/SQL Trigger is block of code attached to an event that may occur on a data table. Trigger is a stored block with [Declare], Begin, End and Associated with a…
There are two types of exceptions in PL/SQL Built-in Exceptions and User-Defined Exceptions. Built-in exceptions are predefined in Oracle with a exception (error code) and its details. User Defined exceptions…
PL/SQL Exception is a run-time error caused due to many things that occur in a database application. It can be due to wrong data stored in variables, incorrect data accessed…
A cursor named and declared in a PL/SQL block’s declare section is called an Explicit Cursor. The explicit cursors must be declared, opened, fetched and closed. The management of PL/SQL…
All the cursors declared by PL/SQL for SQL statements of a PL/SQL block are called Implicit Cursors. A programmer doesn’t need to write Open, Fetch and Close operations to manage…
PL/SQL cursors are internal data structures used to execute SQL statements. SELECT statements in PL/SQL programs are implicit cursors. They represent memory areas used by SQL processor to execute SQL…
PL/SQL Iterative control statements allow a programmer to execute a set of statements multiple times. All iterative statements must have a conditional statement to check whether to continue to execute…