when you are in SQL you can use "!" sign before the command to execute. I am not sure how you can use this in PS/SQL.
Example:
SQL> !ls -ltr
total 64
drwx------ 2 psft dba 96 Jul 31 16:23 Mail
-rw-r--r-- 1 psft dba 186 Aug 19 21:07 recere.sql
-rw-r--r-- 1 psft dba 8301 Aug 19 21:16 A.sql
drwxr-xr-x 3 psft dba 8192 Sep 6 14:42 Scri
SQL>
All the best.
Raj
Main Topics
Browse All Topics





by: seazodiacPosted on 2003-10-08 at 08:38:15ID: 9514034
if you can, it will a very daunting challenge...
ls/ask/f?. ..ID:95222 9840241
the easy workaround is that you create a java stored procedure in which java PROCESS can execute some operating system commands, and grant the proper privilege at the OS level, and in your plsql program , you call that java stored procedure.
there is a detailed example here:
see http://asktom.oracle.com/p