Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Class notes

Class notes pl sql (sql01)

Rating
-
Sold
-
Pages
2
Uploaded on
25-03-2022
Written in
2013/2014

Lecture notes of 2 pages for the course pl sql at Kerala University (plsql conditions)

Institution
Course

Content preview

PL/SQL - Conditions
In this chapter, we will discuss conditions in PL/SQL. Decision-making structures
require that the programmer specify one or more conditions to be evaluated or
tested by the program, along with a statement or statements to be executed if the
condition is determined to be true, and optionally, other statements to be executed if
the condition is determined to be false.
Following is the general form of a typical conditional (i.e., decision making) structure
found in most of the programming languages −




PL/SQL programming language provides following types of decision-making
statements. Click the following links to check their detail.

S.No Statement & Description


IF - THEN statement

1 The IF statement associates a condition with a sequence of statements enclosed by the
keywords THEN and END IF. If the condition is true, the statements get executed and if
the condition is false or NULL then the IF statement does nothing.

IF-THEN-ELSE statement
IF statement adds the keyword ELSE followed by an alternative sequence of statement.
2
If the condition is false or NULL, then only the alternative sequence of statements get
executed. It ensures that either of the sequence of statements is executed.

3 IF-THEN-ELSIF statement

Written for

Institution
Course

Document information

Uploaded on
March 25, 2022
Number of pages
2
Written in
2013/2014
Type
Class notes
Professor(s)
Fousia
Contains
All classes

Subjects

$7.99
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller
Seller avatar
sreejipradeesh

Get to know the seller

Seller avatar
sreejipradeesh COLLEGE OF ENGINEERING, KOTTARAKKARA
Follow You need to be logged in order to follow users or courses
Sold
1
Member since
4 year
Number of followers
1
Documents
24
Last sold
4 year ago

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions