PLS-00103: 出現符號 "end-of-file"-一個存儲過程問題


PLS-00103: 出現符號 "end-of-file"-一個存儲過程問題

create or replace procedure daoru
as
begin
insert into bstc.aaa
select hs_modified_time||'2',f_name,hs_sid,hs_uuid,hs_state,hs_is_deleted from T_USR_XMSX@to_olddb
end;




報錯: 
行號= 6錯誤文本= PLS-00103: 出現符號 "end-of-file"在需要下列之一時:  begin case declare  end exception 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 pipe 



------解決方法--------------------------------------------------------
insert into bstc.aaa
select hs_modified_time||'2',f_name,hs_sid,hs_uuid,hs_state,hs_is_deleted from T_USR_XMSX@to_olddb
; 

是少了分號


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM