ORA-24348: Update or Delete without Where
Cause: An update or delete was executed without where clause
Action: An OCI_SUCCESS_WITH_INFO is returned.
ORA-24348:没有WHERE子句的update/delete
使用以下SQL语句,试图仅使用UPDATE语句更新表中所有行:
UPDATE tablename SET col1 = ‘X’;
要求将where子句添加到SQL语句中,以确定要更新的行,以避免更新全表数据,例如:
UPDATE tablename SET col1 = 'X’ WHERE col2=’Y’