Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: Q: is it possible to execute sqlplus from c program
In article <8hjvke$pv4$1_at_nnrp1.deja.com>,
tedchyn_at_yahoo.com wrote:
> Sir: is it possible to execure sqlplus from a c program.
>
> thax
> ted chyn
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
>
sure, you do it all the time by typing in:
$ sqlplus
the sh is just a big C program ;)
you would use system() or fork()+exec() or maybe popen() to run sqlplus from C.
-- Thomas Kyte (tkyte_at_us.oracle.com) Oracle Service Industries Howtos and such: http://osi.oracle.com/~tkyte/index.html Oracle Magazine: http://www.oracle.com/oramag Opinions are mine and do not necessarily reflect those of Oracle Corp Sent via Deja.com http://www.deja.com/ Before you buy.Received on Tue Jun 06 2000 - 00:00:00 CDT
![]() |
![]() |