My Oracle Support Banner

Trigger Suddenly Fails With : "ERROR 1054 (42S22): Unknown column .. in 'NEW'" (Doc ID 1969771.1)

Last updated on APRIL 15, 2020

Applies to:

MySQL Server - Version 5.6 to 5.7 [Release 5.6 to 5.7]
Information in this document applies to any platform.

Symptoms

A trigger that worked well, suddenly stops working, and queries could fail like this:

Changes

TRUNCATE TABLEANALYZE TABLE, OPTIMIZE TABLE, ALTER TABLE were run on the tables referred to in the trigger.

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
 Workaround
 Permanent solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.