Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

NO_DATA_FOUND for a date

sunil_dbaSep 29 2010 — edited Sep 30 2010
Hi,

i am trying to catch exception for date value in NO_DATA_FOUND.

But looks like, it doesn't work for this date.

select dep_date into v_depDate from Note_Staging where De Note_Id=v_notId;
Exception When NO_DATA_FOUND Then
----
---


But when v_depDate is NULL, it doesn't enter into exception.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 28 2010
Added on Sep 29 2010
8 comments
602 views