0% found this document useful (0 votes)
9 views2 pages

ADBMS SHORT LOOK Documents

The document outlines a series of practical exercises focused on PL/SQL programming constructs, including sequence clauses, conditional statements, loops, procedures, triggers, and exception handling. It details specific tasks such as updating salary based on sales performance, creating and calling procedures, and implementing both implicit and explicit cursors. Additionally, it covers user-defined exceptions and nested tables, providing a comprehensive guide for learning PL/SQL programming techniques.

Uploaded by

nimadevaibhav
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views2 pages

ADBMS SHORT LOOK Documents

The document outlines a series of practical exercises focused on PL/SQL programming constructs, including sequence clauses, conditional statements, loops, procedures, triggers, and exception handling. It details specific tasks such as updating salary based on sales performance, creating and calling procedures, and implementing both implicit and explicit cursors. Additionally, it covers user-defined exceptions and nested tables, providing a comprehensive guide for learning PL/SQL programming techniques.

Uploaded by

nimadevaibhav
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Practical 2 create simple sequence clause like : START WITH,INCREMENT

BY,MAXVALUE,MINVALUE,CYCLE/NOCYCLE,CACHE/NOCACHE, ORDER/NOORDER
Practical 3 : WRITE PLSQL BLOCK WITH BASIC PROGRAMMING CONSTRUCT BY
INCLUDING
a) IF..then…Else,if…Elseif….Else…Endif
b) Case statement
Practical 3A : update the salary column of emp_tb1 as salary bonus for ht employee whose
sales is greater than(quota+200) (apply bonus using formula (sales-quota)/4)
Practical 3B: if previous condition is false ten add rs:50 bonus in salary column then print
bonus.
Practical 3C : IF ELSE STATEMENT
Practical 3D : Case Statement
Practical 3F same as Practical 3D.
Practical 3E: Case statement using exception.
Practical 4 : WRITE PL/SQL BLOCK WITH BASIC PROGRAMMING CONSTRUCT FOR
FOLLOWING ITERATIVE STRUCTURE
a) WHILE LOOP
b) FOR-LOOP STRUCTURE
Practical 4A: WRITE PL/SQL block to print 11 to 20 nos. using for loop
Practical 4B: write pl/sql block to display 31 to 41nos. in reverse order
Practical 4C: write pl/sql block to print 1 to 10 using while loop
Practical 5 : write pl/sql block with basic prog construct by including a GOTO to jump out
of a loop and NULL as a statement inside IF.
Practical 5A : GOTO Statement :- pl/sql block to print no from 21 to 31 except 23 (goto)
Practical 5B : NULL Statement:- pl/sql block to demonstrate null.

Practical 6: pl/sql block


a) Create an empty procedure,replace a procedure & call a procedure
b) Create a stored procedure & call it
c) Define a procedure to insert data
d) A forward declaration of procedure
Practical 6A1: Empty Procedure
Practical 6A2: Replace a procedure
Practical 6B1: Procedure to add two numbers
Practical 6B2: Procedure to find square and square root using 2 variables
Practical 6C: Create a Procedure to insert records into a table
Practical 6D: Create a procedure to swap 2 numbers
Practical 7
Practical 7A: To find square of a number
Practical 7C: To find square root of a number
Practical 7D: Function to find factorial of a number
Practical 8
Practical 8A :- create a trigger for insert and update operation on emp_tb1 to find difference
between salary.
Practical 8B : create trigger to insert values in log after insert option in emp_tb1
Practical 9 : implicit and explicit cursor
Practical 10 : packages
Practical 11
Pre-Defined Exceptions
Practical 11A
Practical 11E: User-Defined Exception
Practical 12 : nested table

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy