相关文章推荐
没读研的毛衣  ·  GitHub - ...·  11 月前    · 
耍酷的书包  ·  'rejectionHandled' 事件 ...·  12 月前    · 
天涯  ·  帮小宝宝养成口腔保健习惯·  2 年前    · 

Select column into variable issue when it is null

939696 Jun 21 2012 — edited Jun 22 2012
Hi,
I am working in oracle 10g and in my procedure i am using the following statement .
seelct name, age into v_emp,v_age from employee where empno = p_empno.
My issue is if there is no data availabe for name or age the query will return empty row and i am getting "no data found" exeception. So please help me to avoid this eception to execute the procedure sucessfully. Whatcould be the remedy.