pl/sql: test if record is empty
From: steph <stephan0h_at_yahoo.de>
Date: Tue, 27 May 2008 03:45:25 -0700 (PDT)
Message-ID: <23c1e71a-b9d7-41fb-8b4b-469a04ea233c@y38g2000hsy.googlegroups.com>
Date: Tue, 27 May 2008 03:45:25 -0700 (PDT)
Message-ID: <23c1e71a-b9d7-41fb-8b4b-469a04ea233c@y38g2000hsy.googlegroups.com>
oracle 10G
I apparently overlooked it in the manuals - so please be patient ...
How can I test if a record is empty?
I expected it to work like this:
declare
o_rec mytab%ROWTYPE;
begin
if o_rec.empty then
dbms_output.put_line('empty');
end if;
end;
... but it does not.
Thanks,
stephan
Received on Tue May 27 2008 - 05:45:25 CDT