create or replace procedure pro_1
as
v_sql varchar2(1000);
begin
v_sql := 'create table testtab ( coll int )';
Execute immediate v_sql;
Insert Into testtab Values(1);
commit;
end;
而如下过程又可以创建表:testtab,这是为什么。
create or replace procedure pro_1
as
v_sql varchar2(1000);
begin
v_sql := 'create table testtab ( coll int )';
Execute immediate v_sql;
end;
大话西游666
ibeautiful
相关分类