HPE NonStop SQL/MX Error – 20261 The WHERE clause must be used with object-name because it has more than one partition.

In this blog post, let’s learn about the error message “20261 The WHERE clause must be used with object-name because it has more than one partition.” when working with HPE NonStop SQL/MX, the reason for the error and the solution to fix this error message.

Error Message

20261 The WHERE clause must be used with object-name because it has more than one partition.

Reason for the Error

In the WHERE clause, you did not specify the partition in the request to move the partition to a new location. When the object has more than one partition, you must specify the partition.

Solution

None