global namespace qualifier for function?
From: <mh_at_pixar.com>
Date: Sun, 05 Jul 2009 23:55:40 GMT
Message-ID: <04b4m.2617$j84.1774_at_nlpi061.nbdc.sbc.com>
How do I qualify a function or procedure call to indicate that it should be at global scope? I have my own scn_to_timestamp() in a package that needs to call the default global function of the same name.
end px;
Date: Sun, 05 Jul 2009 23:55:40 GMT
Message-ID: <04b4m.2617$j84.1774_at_nlpi061.nbdc.sbc.com>
How do I qualify a function or procedure call to indicate that it should be at global scope? I have my own scn_to_timestamp() in a package that needs to call the default global function of the same name.
Many TIA!
Mark
create or replace package px as
function scn_to_timestamp(scn number) return timestamp; end px;
create or replace package body px as
function scn_to_timestamp(scn number) return timestamp is begin -- how do I qualify this to refer to the global function? return scn_to_timestamp(scn); end;
end px;
-- Mark Harrison Pixar Animation StudiosReceived on Sun Jul 05 2009 - 18:55:40 CDT