In this blog post, let’s learn about the error message “3138 A key-sequenced table with range partitioning requires a FIRST KEY clause.” when working with HPE NonStop SQL/MX, the reason for the error and the solution to fix this error message.
Error Message
3138 A key-sequenced table with range partitioning requires a FIRST KEY clause.
Reason for the Error
You attempted to create a key-sequenced table with range partitioning without a FIRST KEY clause.
Solution
Correct the syntax and resubmit