I am not sure that what you need but you can call sqlplus from unix and pass the sql script as a parameter. If I remember correctly you can do like the following :
sqlplus userid/passwd < sqlscript.sql Too bad I.T. is not cash business
You still haven't mentioned what is in the file. A script? A parameter value? ????
If you are trying to run a script, you can't. However, you might be able to read the contents of the file into a character string, and then use dynamic SQL to get the command executed.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.