Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: The use of COUNT(*)
Been there:)
found := TRUE;
EXCEPTION
WHEN NO_DATA_FOUND THEN
found := FALSE;
END;
4) alternatively
found := FALSE;
FOR csr IN ( <query> ) LOOP
found := TRUE;
EXIT;
END LOOP;
It's probably more a matter of style than anything. I think they perform
similarly. You should confirm this yourself with TKPROF, or whichever tool
you like.
Hope this helped,
doid
Lai King Leung wrote:
> Could anyone tell me about the use of COUNT(*)?
Received on Fri Jul 10 1998 - 13:04:00 CDT
![]() |
![]() |