Branch: CSE Section/Group:802 - B Semester: 3rd Date of Performance:1/09/2022 Subject Name: DBMS Subject Code: 21CSH-214
1. Aim of the practical:
Introduction and implementation of programs using Block Structure and variables. 2. Objective: 1. We have to learn about PL/SQL. 2. We have to learn the concept of a loop for PL/SQL. 3. Program Codes:
Q1. Write a PL/SQL program to SWAP two numbers with and without using temporary variables.
1. With temporary variable.
2. Without a temporary variable.
DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING
Q2. Write a PL/SQL program to the declaration of variables.
DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING
Q3. Write a PL/SQL program to find area and perimeter of rectangle.
DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING
Q4. Write a PL/SQL program to find odd or even number.
DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING
Learning outcomes (What I have learned):
1. We have learned the concept of PL/SQL. 2. We have learned how to use loops in PL/SQL. 3. We have learned logic building for various programs. 4. Learn about oracle live sql online pl/sql compiler Evaluation Grid: Sr. No. Parameters Marks Obtained Maximum Marks 1. Student Performance 12 (Conduct of experiment) objectives/Outcomes. 2. Viva Voce 10 3. Submission of Work Sheet 8 (Record) Total 30