Dbms Project
Dbms Project
2020-2021
A PROJECT REPORT ON
SUBMITED BY:
(Computer Dept.)
CERTIFICATE:
Page 1 of 18
COMPUTER ENGINEERING DATABASE MANAGEMENT SYSTEM
▪ Roll No: 16
▪ Roll No: 17
▪ Roll No: 18
Diploma in Computer Engineering, has satisfactorily completed the project work under
mini project report on, Project Name: “Execute PL/SQL Program using different
conditional statement (if else, for /while)” under my guidance and supervision, this is
part of partial fulfilment of the requirement for submission of Maharashtra State Board
of Technical Education, Mumbai during Semester third of Academic year 2020-2021.
Page 2 of 18
COMPUTER ENGINEERING DATABASE MANAGEMENT SYSTEM
TABLE OF CONTENTS
1 Brief Introduction 04
3 Action Plan 06
4 Resources Required 07
5 Brief Description 08
6 Aim of Microproject 12
8 Acknowledgement 17
9 Reference 18
Page 3 of 18
COMPUTER ENGINEERING DATABASE MANAGEMENT SYSTEM
Brief Introduction
Page 4 of 18
COMPUTER ENGINEERING DATABASE MANAGEMENT SYSTEM
AIM OF MICROPROJECT
Page 5 of 18
COMPUTER ENGINEERING DATABASE MANAGEMENT SYSTEM
ACTION PLAN
Page 6 of 18
COMPUTER ENGINEERING DATABASE MANAGEMENT SYSTEM
Resource Required
Software requirements
Page 7 of 18
COMPUTER ENGINEERING DATABASE MANAGEMENT SYSTEM
BRIEF DESCRPTION
TYPE OF OPREATOR
Page 8 of 18
COMPUTER ENGINEERING DATABASE MANAGEMENT SYSTEM
Page 9 of 18
COMPUTER ENGINEERING DATABASE MANAGEMENT SYSTEM
Page 10 of 18
COMPUTER ENGINEERING DATABASE MANAGEMENT SYSTEM
Relational Operator
Page 11 of 18
COMPUTER ENGINEERING DATABASE MANAGEMENT SYSTEM
Aim of Microproject
Page 12 of 18
COMPUTER ENGINEERING DATABASE MANAGEMENT SYSTEM
ACTUAL OF MICROPROJECT
IF-THEN-ELSE Statement
Page 13 of 18
COMPUTER ENGINEERING DATABASE MANAGEMENT SYSTEM
DECLARE
a NUMBER:=11;
BEGIN
dbms_output.put_line (‘Program started');
IF( mod(a,2)=0) THEN
dbms_output.put_line('a is even number' );
ELSE
dbms_output.put_line('a is odd number1);
END IF;
dbms_output.put_line (‘Program completed.’);
END;
/
Code Explanation:
• Code line 2: Declaring the variable 'a' as 'NUMBER' data type and
initializing it with value '11'.
• Code line 4: Printing the statement "Program started".
• Code line 5: Checking the condition, whether modulus of variable
'a' by '2' is 0.
• Code line 6: If '0', then "a is even number" will be printed.
• Code line 7: If the modulus value is not equal to '0', then the
condition returns <FALSE>, so the message "a is odd number"
will be printed.
• Code line10: Printing the statement "Program completed"
Code Output:
Program started.
a is odd number
Program completed.
Page 14 of 18
COMPUTER ENGINEERING DATABASE MANAGEMENT SYSTEM
It works like an entry-check loop in which execution block will not even
be executed once if the condition is not satisfied, as the exit condition
is checking before execution part. It does not require keyword 'EXIT'
explicitly to exit from the loop since it is validating the condition
implicitly each time of the loop.
Syntax Explanation:
Page 15 of 18
COMPUTER ENGINEERING DATABASE MANAGEMENT SYSTEM
DECLARE
a NUMBER :=1;
BEGIN
dbms_output.put_line('Program started');
WHILE (a <= 5)
LOOP
dbms_output.put_line(a);
a:=a+1;
END LOOP;
dbms_output.put_line(‘Program completed' );
END:
/
Code Explanation:
Output:
Program started
1
2
3
4
5
Program completed
Page 16 of 18
COMPUTER ENGINEERING DATABASE MANAGEMENT SYSTEM
Acknowledgement:
We take this opportunity to express sincere thanks to our project
guide. Mr. Kazi. A.D Under whose guidance our project is done.
We also thanks to all the Computer department teachers for their
valuable guidance, and timely suggestions without which we
could not complete this project work.
Only because of our staff inspiration and instructions we
could achieve satisfactory completion of project work.
Last but not least, we wish to thanks all of those who have helped us
directly or indirectly in this project work.
Page 17 of 18
COMPUTER ENGINEERING DATABASE MANAGEMENT SYSTEM
Reference
Page 18 of 18