PLS-00103:在简单更新块中遇到符号"文件结束"

rag*_*nse 5 sql oracle plsql ora-00933 ora-06550

以下Oracle语句:

 DECLARE ID NUMBER;
 BEGIN
  UPDATE myusername.terrainMap 
  SET playerID = :playerID,tileLayout = :tileLayout 
  WHERE ID = :ID
 END;
Run Code Online (Sandbox Code Playgroud)

给我以下错误:

ORA-06550: line 6, column 15:
PL/SQL: ORA-00933: SQL command not properly ended
ORA-06550: line 3, column 19:
PL/SQL: SQL Statement ignored
ORA-06550: line 6, column 18:
PLS-00103: Encountered the symbol "end-of-file" when expecting one of the following:

   ( begin case declare end exception exit for goto if loop mod
   null pragma raise return select update while with
   <an identifier> <a double-quoted>
Run Code Online (Sandbox Code Playgroud)

我几乎不知所措.这似乎是一个相当简单的陈述.如果它有帮助,我有一个类似的声明,执行INSERT曾经工作,但今天给了我相同的消息.

MJB*_*MJB 5

后面加分号 where id=:id