jjryu 2015. 4. 11. 19:47

begin

select ename into v_ename from emp where sal = v_sal;

exception

when no_data_found then

...

when too_many_rows then

...

when others then

...

end;

/