HPE NonStop SQL/MX Error – 4310 USER(x) is currently supported only in the outermost SELECT list. For example, it cannot be part of the subquery.

In this blog post, let’s learn about the error message “4310 USER(x) is currently supported only in the outermost SELECT list. For example, it cannot be part of the subquery.” when working with HPE NonStop SQL/MX, the reason for the error and the solution to fix this error message.

Error Message

4310 USER(x) is currently supported only in the outermost SELECT list. For example, it cannot be part of the subquery.

Reason for the Error

You tried to use the USER(x) function somewhere other than the outermost SELECT clause. This function is not yet fully supported.

Solution

Correct the query and retry the request