Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Blog
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.
Srinivas
Count of 'A' from given string
ishu
Rdbms
4
SQLWithOuterAndInnerLoop_UnableToExecute
cursor
Srinivas
ERR
Srinivas
stackse - search stackoverflow differently
Please log in to post a comment.