![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
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; |
#3
| |||
| |||
|
|
return sys.scn_to_timestamp(scn); |
|
But what is the purpose of such wrapper? |
#4
| |||
| |||
|
|
I have an hourly cron job that captures the current time and scn to a table. |
![]() |
| Thread Tools | |
| Display Modes | |
| |