In this blog post, let’s learn about the error message “3091 The [NO]AUDIT clause is not allowed in the CREATE INDEX statements.” when working with HPE NonStop SQL/MX, the reason for the error and the solution to fix this error message.
Error Message
3091 The [NO]AUDIT clause is not allowed in the CREATE INDEX statements.
Reason for the Error
You specified a CREATE INDEX statement with the [NO]AUDIT clause, which is not supported.
Solution
Correct the syntax and resubmit