문제

yesterday i altered a procedure "MAIL_INSERT_CRON". but now i want my old procedure back.. It is possible to retrive old content of my procedure ?

도움이 되었습니까?

해결책

You can recover the code from the view all_source if:

  • you have flashback on,
  • you have the privilege to use flashback on data dictionary views (which is granted by the SELECT_CATALOG_ROLE role),
  • the data is still in the flashback area.

It seems you don't have flashback on, or the data has been overwritten already. In that case you'll have to fallback to regular lost data retrieval:

  • you can restore a backup from before the drop,
  • you can use LogMiner to analyze your redo log files.
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top