Hi Friends,

I'm still learming pl/sql
I have a code like this

begin
select * from emp where ename like 'DAVE%';
if (data_found)
then
update count_tab set hits=hits+1;
end if;
exception
when no_data_found
then
update count_tab set no_hits=no_hits+1;
end;


I don't know what "word" to substitute the condition "(data_found)"
that is the opposite of "NO_DATA_FOUND" condition/exception.
Is there a condition "DATA_FOUND"?


Thanks a lot....