In this blog post, let’s learn about the error message “20414 object-type model-object-name must be partitioning-scheme partitioned.object-typeis the type of the affected SQL/MX table or index.model-object-nameis the fully qualified ANSI name of the model object.partitioning-schemeis the partitioning scheme of the target object: HASH or RANGE.” when working with HPE NonStop SQL/MX, the reason for the error and the solution to fix this error message.
Error Message
20414 object-type model-object-name must be partitioning-scheme partitioned.object-typeis the type of the affected SQL/MX table or index.model-object-nameis the fully qualified ANSI name of the model object.partitioning-schemeis the partitioning scheme of the target object: HASH or RANGE.
Reason for the Error
The model object for MODIFY REPARTITION has a different partitioning scheme than the target object.
Solution
Specify a model object with the same partitioning scheme as the target object