在ORACLE的存储过程里写CREATE、DROP这样的语句应该怎么写????
我想在一个存储过程中使用:
create index lots_table_idx on lots_table(id);
rename lots_table to lots_table_123;
rename lots_table_tmp to lots_table;
drop index idx_some;
truncate table lots_table_123 reuse storage;
rename lots_table_123 to lots_table_tmp;
这几句SQL,但存储过程总是报错,
这样的存储过程我应该怎么写?