Informix Error -11081: Uniqueness option type out of range.
Cause and resolution
Uniqueness option type out of range.
This Informix CLI error code is the same as SQLSTATE value S1100. The following function can return this error code: SQLStatistics().
An invalid fUnique value is specified. For a list of valid values for the fUnique parameter, check the Informix CLI Programmer's Manual.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-11081 fires when SQLStatistics()'s fUnique argument is invalid — per the official
guidance, this is the same as SQLSTATE value S1100.
- An invalid
fUniquevalue, per the official guidance — the direct, only cause.
Solutions / Resolution
- Check the Informix CLI Programmer's Manual for the valid
fUniquevalues, per the official guidance.
Examples
N/A
No specific triggering statement is documented beyond an invalid fUnique value.
Diagnostic Checks
- Check the
fUniqueargument passed toSQLStatistics(), and confirm it's a documented valid value.
Related Errors / Related Topics
- -11082 — "Accuracy option type out of range." The same class of invalid-argument
error on
SQLStatistics(), forfAccuracyrather thanfUnique.
SQLStatistics()'s fUnique argument was invalid — check the CLI manual for valid values.