orawish |
---|
да. баян известный.
|
END can be followed by a label. LOOP is keyword, not a reserved word. So where do you see баян? Now try using reserved word as label:
SQL> BEGIN
2 BEGIN
3 NULL;
4 END SELECT;
5 END;
6 /
END SELECT;
*
ERROR at line 4:
ORA-06550: line 4, column 5:
PLS-00103: Encountered the symbol "SELECT" when expecting one of the following:
; <an identifier> <a double-quoted delimited-identifier>
The symbol "SELECT" was ignored.
SQL> BEGIN
2 BEGIN
3 NULL;
4 END IF;
5 END;
6 /
END IF;
*
ERROR at line 4:
ORA-06550: line 4, column 5:
PLS-00103: Encountered the symbol "IF" when expecting one of the following:
; <an identifier> <a double-quoted delimited-identifier>
The symbol "IF" was ignored.
SQL>
SY.