I'VE CREATED A .TXT FILE FROM A SELECT STATEMENT (WITH THE GROUPS HELP) THAT NEED'S TO BE FTP'D. CAN THIS BE DONE FROM A SQL PROMTED, IF SO, CAN SOMEONE POINT ME IN THE RIGHT DIRECTION
On unix, I suggest you call your sql statement from a script, and then in that same script call ftp with the needed parameters.
Else, from sqlplus you can get to the OS by typing !
si from sqlplus you could do :
! ftp .......
If you're running on windows, better wait for another reply
You can also call native code from pl/sql. But it's not needed here, I think. The easier way would be the script way if you use Unix, or the host command if you use NT.
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.