1、以SYSDBA登陆数据库
2、根据时间点查询快照
SELECT * FROM source$ AS OF TIMESTAMP TO_TIMESTAMP('2014-02-24
05:10:32', 'YYYY-MM-DD HH24:MI:SS') where source like
'%CP_EAS_COSTBREAKDOWN_INFO%';(CP_EAS_COSTBREAKDOWN_INFO为存储过程的名称)
3、然后根据ojb#查询代码
SELECT * FROM source$ AS OF TIMESTAMP TO_TIMESTAMP('2014-02-24
05:10:32', 'YYYY-MM-DD HH24:MI:SS') where obj#=164283 order by line;
4、将source复制出来,稍微调整搞定