Oracle Flash back ____oracle

Source: Internet
Author: User
/*
Quick Flashback
    PROCEDURE
    PACKAGE
    PACKAGE body
    type body
    TRIGGER
    FUNCTION
    type
 
  1. Use the SYS administrator
  to log in 2. Command Window execution (for easy access to data, will retrieve the data stored in TXT format, set pagesize large enough to avoid data segmentation)
     sql> spool D:\1234566789.txt
     sql> set pagesize 2500           
     Sql>select text 
         from Dba_source as of timestamp to_timestamp (' 2013-09-24 16:30:00 ', ' yyyy-mm-dd HH24:MI:SS ')-- The data
         where owner = ' Scott '--user and
         name = ' EMP '-    -stored procedure name and  type = ' PROCEDURE '-  -in front of the flash-back time node The flash-back stored procedure order by line
         ;
  3. Open D:\1234566789.txt, remove the separator in the build process, you can
* *

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.