Preciso de uma ajuda!
Tenho uma package que está sendo compilada normalmente, mas ao substituir sua assinatura por um DECLARE para executá-la em um bloco anônimo recebo a seguinte mensagem de erro:
PLS-00103: Encountered the symbol "end-of-file" when expecting one of the following:
begin function package pragma procedure form
* Que para procedures sem parâmetros deve ser utilizado o "AS";
PLS-00103 found 'string' but expected one of the following: 'string'"},
Cause: This error message is from the parser. It found a token (language element) that is inappropriate in this context.
Action: Check previous tokens as well as the one given in the error message. The line and column numbers given in the error message refer to the end of the faulty language construct.
* Falta ponto e vírgula (";");
Eu procurei no código por busca de falhas, mas não encontrei. Mas acredito que se tivesse de fato algum erro de sintaxe, daria erro na hora de compilar o objeto também, correto?
Alguém pode me ajudar?
Grato.