Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> tables with binary_integer in PL/SQL
How can I easily test if an entry in a table exists?
The following does not work:
declare
type tt is table of number(10) index by binary_integer;
brb tt;
begin
brb(1023):=234;
if exist brb(1023) then begin
logg(to_char(brb(1023))); end;
end;
/
I could catch exceptions, but prefer to avoid that.
Any ideas? Received on Mon Jan 06 1997 - 00:00:00 CST
![]() |
![]() |