Why not just use the HOST function?
A reader, October 02, 2001 - 6:28 am UTC
Why not just use the HOST function in SQL*Plus instead of going through all the trouble?
October 02, 2001 - 7:42 am UTC
Because the host command is a SQL*Plus, not a PLSQL command, and people want to run programs from their stored procedures -- not using SQLPlus.
If you are using SQL*Plus, the host command is the proper way to do it.
If you need to run a command on the server via a stored procedure, SQL*plus does not do it at all.
A reader, October 02, 2001 - 10:35 am UTC
hi tom,
can i run SQLLDR like
rc('SQLLDR XYZ/XYZ@ORACLE CONTROL= .. ')
Thanks
October 02, 2001 - 10:41 am UTC
yes. sqlldr is a program so it can be run via this method.
A reader, October 02, 2001 - 10:51 am UTC
hi tom,
can i run SQLLDR like
rc('SQLLDR XYZ/XYZ@ORACLE CONTROL= .. ')
Thanks