Re: SQL-Proceudre: SELECT ... INTO... within a while loop - doesn´t work

From: Wit Serdakovskij <wit_no_at_spam_dba.kiev.ua>
Date: 16 Jul 2004 14:27:37 GMT
Message-ID: <20040716142738.GA5337_at_tormoz.net>


Hello, bert,

near 07:15 16-Jul from bertholomaeus_at_yahoo.ca:

> Hi,
>
> I want to insert the result of a select into a procedure-variable
> within a while-loop. The loop works as far as I don´t insert following
> line:
>
> select tea.FDATE into ldTeaDate2 from ... tea where tea.ID = ldTeaId;
>
> the error message:
> ORA-01403: no data found
> ORA-06512: at "...", line 70
>
> The table and variables are created by the same user, who execute the
> statement.
>
> Have anyone an idea?

include theis statement in block with exception handler section.

-- 
wbr,
Wit.
Received on Fri Jul 16 2004 - 16:27:37 CEST

Original text of this message