select into NULL in PL/SQL
Date: Sat, 21 Jul 2001 21:16:48 GMT
Message-ID: <CX9_6.253872$p33.5088230_at_news1.sttls1.wa.home.com>
Have looked everywhere for an example or explanation of this without
success.
Have a table with a column that can contain NULL. Am using a cursor to loop
over every record and load this column value into a variable using SELECT
INTO.
When I get to a NULL value, I get an ORA-04013 or similar that says "data
I guess it makes sense to not want uninitialized variables floating around your PL/SQL code, but Oracle handles NULL values pretty gracefully elsewhere.
Can someone provide either an explanation of why this must work this way or a possible workaround.
Many thanks.
-- Jeff Wilson jwilson2000_at_home.com Eugene, Oregon (541) 684-8590Received on Sat Jul 21 2001 - 23:16:48 CEST