Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: run a script in a PRO*C procedure !
Olivier BRUZEAUX wrote in <86hv9t$u52$1_at_minus.oleane.net>...
>
>Is it possible to run a sql script (script.sql) from a PROC*C procedure
>(file.pc):
>
>Example:
>EXEC SQL "I want to run script.sql"
how about :
system ('sqlplus -... myuser/passwd @script.sql')
;)) Received on Mon Jan 24 2000 - 21:55:40 CST