How to execute windows batch command from sql?
HI
I have written a windows batch command that operates on video files which are stored on a oracle database. What is best way to execute 开发者_C百科this batch command on those video files ? One way I can think of is to pull the video files to temporary folder using a sql script and write another program, maybe in java, to execute the batch command on those files and store the result in separate folder or commit in database.Appreciate your suggestions.
You can use DBMS_SCHEDULER to run external (executable) jobs. An example here
Not sure how your batch file 'gets' the video files from Oracle. I'd look as BFILEs as one option.
精彩评论