Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Oracle Script For Menu
Hi All,
I am trying to write a script as a menu from SQLPLUS screen.
=====================Code
set echo off
ACCEPT VAL PROMPT 'ENTER CHOICE :'
if val=1 then
execute Activity1
elsif val=2 then
execute Activity2
end if