Re: global namespace qualifier for function?

From: Maxim Demenko <>
Date: Mon, 06 Jul 2009 02:25:30 +0200
Message-ID: <> schrieb:
> 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;

return sys.scn_to_timestamp(scn);

But what is the purpose of such wrapper?

Best regards


Why make things difficult, when it is possible to make them cryptic
and totally illogical, with just a little bit more effort?

Aksel Peter Jørgensen
Received on Sun Jul 05 2009 - 19:25:30 CDT

Original text of this message