Skip to content
Advertisement

PLS-00103 error while executing a sql block (Encountered the symbol “SELECT” …)

I’m trying to learn PLSQL and this is a code that I been trying to execute, When I execute the code I get the following error.

I know you can assign a variable to the select statement and use that variable in IF statement, I just want to know the error in the following code.

Advertisement

Answer

OR with a variable if the student_id is unique

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