In case you wondered if anyone was still out here -
No, as far as I know, there's no way to communicate with
the operating system from a stored procedure.
(At least I don't know one - someone gonna prove me wrong ?)
Cheers Dickie Bird (-)))
Thanks to everyone for responding. Yes, using xp_cmdshell is an option, but I ended up having the stored procedure just write to standard output. Apparently the output can be redirected to a file by calling the isql program a certain way within a Unix script.
My next question: is there any way to suppress the
[return status = 0]
nessage that appears after the stored procedure stops running?
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.