Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Select into problem

Select into problem

From: Jun <frankjunli_at_gmail.com>
Date: 12 Dec 2006 13:32:50 -0800
Message-ID: <1165959170.864410.152910@j72g2000cwa.googlegroups.com>


Hi Guys,

   I have a question about PL/SQL code

   I have the following select into statement :

 SELECT STUD_AGE INTO v_cHP_MaxAge FROM STUDENT WHERE GDU = '015346001002';

   I know It has no value returned but it give a no_data_found error.    How do I escape that error without using exception?    Is there any way to force the query return some value instead of an error?

Thanks in advance Received on Tue Dec 12 2006 - 15:32:50 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US