8. PL/SQL Program to Check Whether Number is Odd or Even
use dbms;
drop procedure oddeven;
select * from cse;
DELIMITER &&
CREATE procedure oddeven()
BEGIN
select roll_no as Odd_Roll_No , name as Name from cse where roll_no%2=1;
END &&
DELIMITER ;
CALL oddeven();
0 Comments
If you have any doubts/suggestion/any query or want to improve this article, you can comment down below and let me know. Will reply to you soon.