Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Newbie Question about USER Input
even better this way .... ;-)
DECLARE
user_y char(1);
BEGIN
select upper('&user_x') into user_y from dual; if user_y = 'A' then dbms_output.put_line('A'); elsif user_y = 'B' then dbms_output.put_line('B'); else dbms_output.put_line('Bad selection');end if;
Kind regards
J.F.Sebastian
Received on Sat Oct 19 2002 - 15:01:14 CDT
![]() |
![]() |