Oracle SQL,PL/SQL

What is a case statement in PL/SQL?

Written by shohal

case statement in PL/SQL

A CASE statement is similar to IF-THEN-ELSIF statement.

That selects one alternative based on the condition from the available options.

CASE statement uses “selector” rather than a Boolean expression to choose the sequence.

Execute a sequence of statements based on a selector.

How many type is case statement in pl/sql?

Two types:

(1)Simple CASE statement

(2)Searched CASE statement.

PL/SQL Case Structure :

Simple CASE statement

Searched CASE statement

About the author

shohal

Leave a Comment