Skip to content
Advertisement

Error(8,1): PLS-00103: Encountered the symbol “SET”

I’m trying to create a function using oracle, it should be working fine but i keep getting the following error:

Error(8,1): PLS-00103: Encountered the symbol “SET” here is my Function:

Advertisement

Answer

The problem is where do you put this command: SET SERVEROUT ON; cause its inside the function declaration.

You should try to take it outside the function:

User contributions licensed under: CC BY-SA
5 People found this is helpful
Advertisement