CREATE OR REPLACE PROCEDURE XIANGDAN.DAORUFROMSHEQU 
AS
    BEGIN
     drop table shequ.COMPLETED_DETAIL;
commit;
create table shequ.COMPLETED_DETAIL as select * from ODS.COMPLETED_DETAIL@ssqq;
commit;
    END

解决方案 »

  1.   

    这回变成两个错误提示了:4 6 PLS-00103: 出现符号 "DROP"在需要下列之一时: begin case declare exit   for goto if loop mod null pragma raise return select update   while with <an identifier>   <a double-quoted delimited-identifier> <a bind variable> <<   close current delete fetch lock insert open rollback   savepoint set sql execute commit forall merge   <a single-quoted SQL string> pipe符号 "lock在 "DROP" 继续之前已插入。4 39 PLS-00103: 出现符号 ";"在需要下列之一时: . , @ in <an identifier>   <a double-quoted delimited-identifier> partition subpartition