hi,
this is urgent..can i run a shell script from store procedure without using java.
hi,
this is urgent..can i run a shell script from store procedure without using java.
You can with external procedure calls but it's not as simple as invoking a built-in system procedure.
However, having said that, it's probably easier using Java.
can i do this without any lang..
The Java solution is simply the best cut it requires specific grants to run various UNIX commands. The first solution using DBMS_PIPE requires that you keep sqlplus resident on a UNIX server for however long that you wish to access UNIX OS commands.
Yes tmarikle you are right Java solution can be considered as best solution and widely used.
Thanx for reps...
but i need to execute this without any help of java or c..
can it possible?
yes that is possible and was suggested by Tmarikle
check out links in my previous post in that link this method is given.
What's more, the previous post doesn't mention that the output in the example is still on the server process. There are two more things that you need to be aware of using this approach: