Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
even and odd plsql block
declare no int:=0; ex_valid_roll exception; begin if no=0 then raise ex_valid_roll; end if; if(no mod 2=0) then dbms_output.put_line('even'); else dbms_output.put_line('odd'); end if; exception when ex_valid_roll then dbms_output.put_line(' no is not valid'); when others then dbms_output.put_line('other error '); end;
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
if-else condition in pl/sql
Supplier
Display the number value in Words
Srinivas
pl/sql basic print hello world
admt
3
Detail1
1
display student details in pl/sql
Please log in to post a comment.