PLS-00103: Encountered the symbol “END” when expecting + & = etc
问题 This is my code: DECLARE v_grade CHAR(1) := UPPER('&grade'); appraisal VARCHAR(20); BEGIN appraisal := CASE v_grade WHEN 'A' THEN 'Excellent' WHEN 'B' THEN 'Very Good' WHEN 'C' THEN 'Good' WHEN 'No such grade' END; DBMS_OUTPUT.PUT_LINE('Grade: '||v_grade||'Appraisal '||appraisal); END; / this is the full error code: ERROR at line 10: ORA-06550: line 10, column 1: PLS-00103: Encountered the symbol "END" when expecting one of the following: * & = - + < / > at in is mod remainer not rem then <an