Hi,
How can i check if the records exist in Table T1 , i am using something like this
select count(*) into lv_cnt
from T1 where status = 'F';
if lv_cnt >0
then
Hi
..
..
else
How are you
..
..
end if;
I need to also check if records exist in T1 for eg if there are no records present in T1 irrespective of Status = 'F' it should go to 'Hi' Condition,basically if there is one record present with status F and if there is no records at all in T1 then goto to 'Hi' condition