Oracle Error: PLS-00201 identifier 'dbms _ FLASHBA Problem

Source: Internet
Author: User


Oracle Error: PLS-00201 identifier 'dbms _ FLASHBA problem in the use of PL/SQL package dbms_flashback for flash back query, can not directly use 'sys 'user to call: 01SQL> exec dbms_flashback.enable_at_time (systimestamp-interval '15' minute); 02 03 BEGIN dbms_flashback.enable_at_time (systimestamp-interval '15' minute); END; 04 05*06 07 ERROR at line :08 www.2cto.com 09ORA-08185: Flashback not supported for user SYS10 11ORA-06512: at "SYS. DBMS_FLASHBACK ", line 312 13ORA-06512: at line 1
Switch to a common user who needs to perform a flash-back query, but authorization is required before that. If not authorized, the following error occurs: 01SQL> exec dbms_flashback.enable_at_time (paiimestamp-interval '15' minute); 02 03 BEGIN minute (paiimestamp-interval '15' minute); END; 04 05*06 07 ERROR at line www.2cto.com rows: line 1, column 11PLS-00201: identifier 'dbms _ FLASHBACK 'must be declared12 13ORA-06550: line 1, column 15PL/SQL: statement ignored authorization: 01SQL> conn/as sysdba02 03Connected. 04 05SQL> grant execute on dbms_flashback to scow.06 07 Grant succeeded.08 09SQL> conn scow./ scow.10 www.2cto.com 11Connected. 12 13SQL> exec dbms_flashback.enable_at_time (systimestamp-interval '15' minute); 14 15PL/SQL procedure successfully completed.16 17SQL>
 

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.