HPE NonStop SQL/MX Error – 3214 Minimum length of LONG VARCHAR is value.

In this blog post, let’s learn about the error message “3214 Minimum length of LONG VARCHAR is value.” when working with HPE NonStop SQL/MX, the reason for the error and the solution to fix this error message.

Error Message

3214 Minimum length of LONG VARCHAR is value.

Reason for the Error

You attempted a CREATE TABLE table name (columnname long varchar(N) where N < current MIN_LONG_VARCHAR_DEFAULT_SIZE setting.

Solution

Decrease the CREATE TABLE statement’s long varchar column width N or increase the current MIN_LONG_VARCHAR_DEFAULT_SIZE setting and resubmit