oracle 如何批量使用update

一句update 语句执行是可以的 ,但是多久就不可以了 ,如图
报错:
在行: 1 上开始执行命令时出错 -
update bd_psndoc set name='张三' where code ='002'
update bd_psndoc set name='李四' where code ='003'
错误位于命令行: 2 列: 3
错误报告 -
SQL 错误: ORA-00933: SQL 命令未正确结束
00933. 00000 - "SQL command not properly ended"
*Cause:
*Action:

img

要加分号;
第一条修改语句后面加上分号;

update bd_psndoc set name='张三' where code ='002';
update bd_psndoc set name='李四' where code ='003';

是不是应该加分号。

语句后面加一个分号试试。

每句结束后加上分号,代表此句结束