Recover a package body [message #411788] |
Mon, 06 July 2009 14:15 |
DennisL
Messages: 3 Registered: July 2009
|
Junior Member |
|
|
Hello, I need to recover the body of a package. I have tried to use the as of timestampfunction on the dba_source table, but to no avail. I get an ORA-01031: insufficient privileges error.
Any ideas?
select *
from
(select
text
from
dba_source
where
owner = 'ONCPROD' and
name = 'PK_ONC_NIGHTLY_SYNC' And
type = 'PACKAGE BODY'
order by line asc)
AS OF TIMESTAMP SYSDATE - 1;
|
|
|
|
|
|
|
Re: Recover a package body [message #412035 is a reply to message #411788] |
Tue, 07 July 2009 08:37 |
DennisL
Messages: 3 Registered: July 2009
|
Junior Member |
|
|
Here is the error ORA-01555: snapshot too old: rollback segment number 47 with name "_SYSSMU47$" too small
I don't understand item 2, Do it on base table not on view
What is the base table?
|
|
|
|
|