oracle procedure ussing Host() command

前端 未结 2 1376
余生分开走
余生分开走 2021-01-21 19:36

I am having a problem using host() command in oracle procedure. I have written very simple oracle code.

CREATE OR REPLACE PROCEDURE 

run_command(c         


        
2条回答
  •  别那么骄傲
    2021-01-21 20:06

    Another clunky, but non-Java way would be to create DBMS_SCHEDULER ad-hoc EXECUTABLE job which is your HOST command (e.g. ls ), and then execute the job.

    Note these run on the database server, not on your remote/local client.

提交回复
热议问题