Run SCRIPT from PL/SQL Block

后端 未结 5 1081
执笔经年
执笔经年 2020-12-03 20:17

How to use \"START SCRIPT\" in pl/sql block ?

I want to use something like this

declare
begin
   proc(para1,para2);
   execute immediate \'start prom         


        
5条回答
  •  时光说笑
    2020-12-03 20:42

    execute immediate 'start prompt1' ;

    Execute immediate is to execute SQL statements , not arbitrary commands.

    can i get a value from prompt1 into my PL/SQL block where am calling the script

    You can run a run script - but I doubt you can capture input from an SQL script, esp within a PL/SQL block

提交回复
热议问题