In this blog post, let’s learn about the error message “11010 A BEFORE trigger works only at row granularity.” when working with HPE NonStop SQL/MX, the reason for the error and the solution to fix this error message.
Error Message
11010 A BEFORE trigger works only at row granularity.
Reason for the Error
You attempted to specify a statement granularity for a BEFORE trigger, which is not supported.
Solution
Either specify a row granularity or do not specify a granularity. Row granularity is the default for BEFORE triggers