Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Create Subfolder in oracle Directory

nkswapnilNov 21 2016 — edited Nov 22 2016

Hi All,

I need to create oracle subfolder inside oracle directory at run-time.

Suppose i have one oracle directory like thisĀ  :

Create or Replace directory my_dir as '/tmp/s1'

Now my requirement is i need to create sub directory on that folder based on emp no .

E.g.

If empno - 2215 , Directory will create like this MY_DIR\EMP_2215\

if Empno - 2216 , Directory will create like this MY_DIR\EMP_2216\

Is it possible to create directory at run time or we need to create on physical level. If yes , how can we achieve this.

Thanks

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 20 2016
Added on Nov 21 2016
8 comments
2,034 views