Re: o/s system calls - can it be done?

From: Me <gingergrrrl_at_hotmail.com>
Date: Mon, 10 Aug 1998 14:25:36 -0400
Message-ID: <35CF3B20.97E034AD_at_hotmail.com>


[Quoted] from the SQLPLUS prompt:

SQL> ! ls -l

I believe you can also use ' host ls -l ' or just type host to spawn a shell and exit from the shell to return to sqlplus.

johnvue_at_gte.net wrote:

> Is there any way to do system (shell) operations within PL/SQL?
>
> Let's say I had a PL/SQL block and I wanted to do a "ls -l" to get a
> directory listing. Is there any way to do that?
>
> In C Language, I can do
> {
> x = system("ls -l");
> }
>
> Thanks.
Received on Mon Aug 10 1998 - 20:25:36 CEST

Original text of this message