The examples below are based on:- the demo schema SCOTT that is created with script: $ORACLE_HOME/rdbms/admin/scott.sql- the directory object my_dir that refers to an existing directory on the server where the Oracle RDBMS is installed. Example: Wind…