|
|
Re: display message in no data [message #138544 is a reply to message #137145] |
Thu, 22 September 2005 08:07 |
kiran
Messages: 503 Registered: July 2000
|
Senior Member |
|
|
If my understanding is correct, you want to show a message when the total no.of records is zero.if so,you can write something like following.
Declare
num number;
Begin
select count(empno) into num from emp;
if num = 0 then
message('total Records are zero')
--or else you can define an alert and show it by using
-- show_alert() method.
end if;
End;
--Kiran.
|
|
|