Articles Comments

Oracle DBA & All IT » ORA-Error » Full export warnings PLS-00201:ORA-06512:

Full export warnings PLS-00201:ORA-06512:

Warining ใน Log เวลาที่เรา export Full ถ้าเจอแบบนี้ให้ทำการ grant สิทธิืเพิ่มให้กับ user ที่ใช้รัน export ค่ะ

PLS-00201: identifier 'SYS.DBMS_DEFER_IMPORT_INTERNAL' must be declared
ORA-06512: at "SYS.DBMS_EXPORT_EXTENSION", line 97

 

 Solution: ( Ref  ID 464862.1)

++ Explicitly grant the execute privilege on DBMS_DEFER_IMPORT_INTERNAL and DBMS_EXPORT_EXTENSION to the user performing the export as shown below :

SQL> GRANT EXECUTE ON SYS.DBMS_DEFER_IMPORT_INTERNAL TO <user_name>;

SQL> GRANT EXECUTE ON SYS.DBMS_EXPORT_EXTENSION TO <user_name>;

++ Run the export

 

Example Error In Export Log.

. exporting cluster definitions
. about to export SYSTEM's tables via Conventional Path …
. . exporting table                    DEF$_AQCALL
EXP-00008: ORACLE error 6550 encountered
ORA-06550: line 1, column 19:
PLS-00201: identifier 'SYS.DBMS_DEFER_IMPORT_INTERNAL' must be declared
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored
ORA-06512: at "SYS.DBMS_SQL", line 1575
ORA-06512: at "SYS.DBMS_EXPORT_EXTENSION", line 97
ORA-06512: at "SYS.DBMS_EXPORT_EXTENSION", line 126
ORA-06512: at line 1
. . exporting table                   DEF$_AQERROR
EXP-00008: ORACLE error 6510 encountered
ORA-06510: PL/SQL: unhandled user-defined exception
ORA-06512: at "SYS.DBMS_EXPORT_EXTENSION", line 50
ORA-06512: at "SYS.DBMS_EXPORT_EXTENSION", line 126
ORA-06512: at line 1
. . exporting table                  DEF$_CALLDEST
EXP-00008: ORACLE error 6550 encountered
ORA-06550: line 1, column 19:
PLS-00201: identifier 'SYS.DBMS_DEFER_IMPORT_INTERNAL' must be declared
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored
ORA-06512: at "SYS.DBMS_SQL", line 1575
ORA-06512: at "SYS.DBMS_EXPORT_EXTENSION", line 97
ORA-06512: at "SYS.DBMS_EXPORT_EXTENSION", line 126

..

 

 

.. Preview : 6186

Related Search:

  • ORA-06512
  • ora-06512 คือ
  • PLS-00201: identifier SYS DBMS_DEFER_IMPORT_INTERNAL must be declared
  • grant execute DBMS_DEFER have error ORA04042

Written by

บอกเล่าสิ่งที่พบเจอมาในการทำงาน ประสบการณ์การทำงานด้าน DBA ถ่ายทอดกันด้วยภาษาง่ายๆ บ้านๆ " ทุกอย่างไม่อยาก แต่... แค่ตั้งใจไม่พอ ต้องลงมือทำ และทำ GoodLuck " Fanpage: www.facebook.com/DBAor .. "Oracle Database Consultant " ..

Filed under: ORA-Error

  • This can be a thing I need to do more research into, many thanks for the article.

    • if you have anything i can help. you can post in forum. ^^

  • Now that’s sblute! Great to hear from you.

  • Woot, I will certnaily put this to good use!