create oracle package encountered PLS-00103: Encountered the symbol “CREATE”

前端 未结 6 1670
名媛妹妹
名媛妹妹 2020-12-15 05:10

I am writing an oracle package using Oracle sql developer, I got this compile error:

Error(7,1): PLS-00103: Encountered the symbol \"CREATE\" .

<
6条回答
  •  时光说笑
    2020-12-15 05:34

    I had the same problem. I create package using main menu od the left and put package declaration and body inside same .sql file. Problem get solved when I copy all code and paste it into new worksheet and put "/" after end package_name (both after package declaration and body) and then execute worksheet as script.

提交回复
热议问题