Updated on 2024-07-19 GMT+08:00

IGNORE

With the IGNORE modifier, the UPDATE statement does not abort even if errors occur during execution.

Input

1
2
# IGNORE 
UPDATE IGNORE employees SET department_id=3;

Output

1
2
-- IGNORE 
UPDATE "public"."employees" SET "department_id" = 3;