Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: Redeclaration of Global variables...
Hi, I checked this,
On 10gr2 you get an error while trying to assing the value to the
duplicated variable, on 9i works perfectly.
So it seems to be fixed on 10gr2 :)
create or replace package glb_test as
g_num number;
g_num number;
end;
/
EXEC GLB_TEST.g_num:=1;
EXEC DBMS_OUTPUT.PUT_LINE(GLB_TEST.g_num);
-- http://www.freelists.org/webpage/oracle-lReceived on Mon Mar 20 2006 - 07:15:14 CST
![]() |
![]() |