标签:style ar sp 数据 on ef bs size oracle
Oracle存储过程中执行DDL语法
--C1:删除目标表所有数据
EXECUTE IMMEDIATE ‘TRUNCATE TABLE LDCODE‘;
--C2:创建索引
EXECUTE IMMEDIATE ‘CREATE INDEX I_JHLCPOL_CONTNO ON JH_LCPOL(CONTNO)‘;
--C3:删除索引
EXECUTE IMMEDIATE ‘DROP INDEX I_JHLCPOL_CONTNO‘;
标签:style ar sp 数据 on ef bs size oracle
原文地址:http://my.oschina.net/nly/blog/332836