Common errors in Oracle using EXPDP: ORA-39002; ORA-39070; ORA-29283; ORA-06512; ORA-29283

1. Topic requirements:

Oracle: Use EXPDP to export the system user student table.

2. Error message:

3. Error analysis:

The directory "dp_dir" could not actually be created to exist.

4. Solution:

  1. Open "SQL Plus";
  2. Log in account "System";
  3. Create a directory "dp_dir" under the specified path (here I am 'd:\OraBak');
  4. Check to confirm whether the creation is successful;
  5. Use "cmd" to open a command prompt window;
  6. Export data using EXPDP;

Go to your computer to check, you will find that there is no "OraBak" folder and "DP_DIR" folder on the D drive, so you can manually create it yourself, and the result after creation is as shown in the figure:

Next, "WIN+R", enter "cmd" to open the command prompt window, execute the command "EXPDP SYSTEM/12345678 DUMPFILE=student.dmp directory=dp_dir tables=student job_name=student_job", the result is shown in the figure below:

Congratulations on your successful export.

Guess you like

Origin blog.csdn.net/weiybin/article/details/109725488