In this blog post, let’s learn about the error message “9220 Sample table table-name cannot have index or trigger on it.” when working with HPE NonStop SQL/MX, the reason for the error and the solution to fix this error message.
Error Message
9220 Sample table table-name cannot have index or trigger on it.
Reason for the Error
The user-specified sample table has either an index or a trigger or both. An index on the sample table might prevent the use of Side-tree inserts for populating the sample table and degrade performance. A trigger could modify the inserted data in an undesirable way, besides degrading performance.
Solution
Drop all the indexes and triggers on the sample table and resubmit