//(1)建表 aaa
create table aaa(
  id number(2),
  name varchar2(100)
);
//(2)插入数据
insert into aaa values(1,'aaa');
insert into aaa values(2,'bbb');
commit;
select * from aaa;
//(3)创建存储过程
create or replace procedure delete_test(
p_id IN number

as
strSql varchar2(1024);
begin
strSql := 'delete from aaa where id = '||p_id;
execute immediate strSql;
  commit;
exception 
  when no_data_found then
    null;
end;
//(4)创建存储过程
create or replace procedure test(
p_sql IN varchar2
) as
begin  
   execute immediate p_sql;   
exception 
  when no_data_found then
    null;
end;
//(5)执行语句
exec test_edc('call delete_edc_date(1)');
执行报错,错误信息:
ORA-06550: 第 2 行, 第 7 列: 
PLS-00905: 对象 test.TEST 无效
ORA-06550: 第 2 行, 第 7 列: 
PL/SQL: Statement ignored问题:
(1)请问下,是否存在这种方式,实现存储过程调用另外个存储过程;
(2)如果存在,是什么样的形式呢?