Impdp import user sechema ORA-39082

Source: Internet
Author: User

Impdp import data, ORA-39082 ORA-39083 error number, the object cannot compile after the import can be compiled object to try: alter view view_name compile; if the error: Use show errors to locate the source of the problem, whether it is a permission issue or a dblink issue; if it is a permission issue, it means that the user has not been granted sufficient permissions (mainly the read permission for some tables) when the user is created) we mainly query the following two views: dba_sys_privs and dba_role_privs. If the problem is caused by dblink, we recommend that you use dbms_metadata.get_ddl to view the definition ddl of dblink and try to recreate db_link.
Then, compile the object.
View OBJECT definition ddl: select dbms_metadata.get_ddl ('object _ type', 'object _ name', 'username') from dual;
Invalid compilation object: view: alter view view_name compile; function: alter function function_name compile;
Sys user viewing invalid objects: select owner, object_name, object_type, statusfrom dba_objectswhere status! = 'Valid' and owner not in ('sys ', 'system ')/
Show error usage: view compilation error: alter view view_name compile; Warning: view view_name with compilation errors.
SQL> show errors view view_nameErrors for view view_name:
LINE/col error ----------- ------------------------- 0/0 ORA ---


Related Article

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.