Database Management System: Name: Prerna S. Mhatre Class: Sy - Bsc.It
Database Management System: Name: Prerna S. Mhatre Class: Sy - Bsc.It
MANAGEMENT SYSTEM
NAME: PRERNA S. MHATRE
CLASS: SY.BSc.IT
TOPICS
01 Operator’s
02 Nested Block
03 Labeling Block
01
Operators
(A = B) is
Checks if the values of two operands are equal or not, if yes
= not true.
then condition becomes true.
!=
<> Checks if the values of two operands are equal or not, if (A != B) is
~= values are not equal then condition becomes true. true.
(A > B) is
Checks if the value of left operand is greater than the not true.
> value of right operand, if yes then condition becomes
true.
(A < B) is
Checks if the value of left operand is less than the value true.
<
of right operand, if yes then condition becomes true.
(A >= B) is
Checks if the value of left operand is greater than or not true.
>= equal to the value of right operand, if yes then condition
becomes true.
(A <= B) is
Checks if the value of left operand is less than or equal true
<= to the value of right operand, if yes then condition
becomes true.
Comparison Operator:
Comparison Operators are use to comparing one expression to
another.The result is always True , False or null.
Comparision
Description
Operators
The Logical operators are those that are true or false. They
return a true or false values to combine one or more true or
false values
Syntax:
<<mainblock>>
declare
..
Begin
..
end;
Ex.
<<outerblock>>
DECLARE
counter INTEGER := 0;
BEGIN
...
DECLARE
counter INTEGER := 1;
BEGIN
IF counter = outerblock.counter
THEN ...
END IF;
END;
END;
Thanks
If you have any Questions:
Prerna6080@gmail.com