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:
- Open "SQL Plus";
- Log in account "System";
- Create a directory "dp_dir" under the specified path (here I am 'd:\OraBak');
- Check to confirm whether the creation is successful;
- Use "cmd" to open a command prompt window;
- 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.