In this blog post, you’ll learn more about the Sybase Error Invalid REFERENCES clause in trigger definition and the reason for receiving this error
Sybase SQL Error Message
Invalid REFERENCES clause in trigger definition
Reason for this Error
You supplied an invalid REFERENCES clause in a trigger definition. You may have specified an OLD correlation name in a BEFORE INSERT trigger, or a NEW correlation name in an AFTER DELETE trigger. In both cases, the values do not exist and cannot be referenced.