我写的一个存储过程,要动态创建表和索引,下面是我的过程:
create or replace procedure CreateTable(table_name varchar2)as
begin
create table table_name(...);
create index a_idx on table_name(...);
end CreateTable;
可 编译时候不能成功,不能把表的名字当作一个变量,各位达人这种情况都如何解决,谢谢
create or replace procedure CreateTable(table_name varchar2)as
begin
create table table_name(...);
create index a_idx on table_name(...);
end CreateTable;
可 编译时候不能成功,不能把表的名字当作一个变量,各位达人这种情况都如何解决,谢谢
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货