Informix Error -25724: May not modify built-in type <data_type_name>. </data_type_name>
Cause and resolution
May not modify built-in type <data_type_name>. </data_type_name>
Only user-defined data types are valid with the ALTER OPAQUE TYPE statement. The data type <data_type_name> is a built-in data type. </data_type_name>
Remove the ALTER OPAQUE TYPE statement.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-25724 fires when ALTER OPAQUE TYPE targets a built-in data type — per the official
guidance, ALTER OPAQUE TYPE is only valid for user-defined data types.
ALTER OPAQUE TYPEtargeting a built-in data type, per the official guidance — the direct, only cause.
Solutions / Resolution
- Remove the
ALTER OPAQUE TYPEstatement, per the official guidance — built-in types can't be altered this way.
Examples
N/A
No specific triggering statement is documented beyond targeting a built-in type.
Diagnostic Checks
- Check whether the target type is user-defined or built-in, and drop the
ALTER OPAQUE TYPEstatement if it's built-in.
Related Errors / Related Topics
No closely related error codes are cross-referenced for -25724 in this set yet.
ALTER OPAQUE TYPE targeted a built-in type, which isn't allowed — only user-defined types
can be altered this way.