In this post, you’ll learn about the error message -662 a partitioned index cannot be created on a non partitioned tablespace tspace name in the IBM DB2 database , the reason why it occurs along with the solution to fix it
IBM DB2 Error Message
-662 a partitioned index cannot be created on a non partitioned tablespace tspace name
Reason for the Error
The CREATE INDEX statement contains PART specifications, but the specified object table is not partitioned (that is, does not reside in a partitioned table space).
Verify that the proper object table was specified in the statement.