Informix Error -23925: Second arg of dbinfo(dbspace/coserverid) cannot specify a view.
Cause and resolution
Second arg of dbinfo(dbspace/coserverid) cannot specify a view.
The dbinfo() function call has either 'dbspace' or 'coserverid' as the first argument and the second argument specifies a column name. Column names qualified by view names are not supported.
Check to see that the second argument specifies a column name qualified by a table name.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-23925 fires when dbinfo('dbspace'/'coserverid', ...)'s second argument names a
column qualified by a view — per the official guidance, view-qualified column names
aren't supported here.
- A
dbinfo()second argument qualified by a view name, per the official guidance — the direct, only cause.
Solutions / Resolution
- Qualify the column name by a table name, not a view name, per the official guidance.
Examples
N/A
No specific triggering statement is documented beyond a view-qualified column argument.
Diagnostic Checks
- Check the
dbinfo()call's second argument, and requalify it to a table name.
Related Errors / Related Topics
- -23926 — "Second arg of dbinfo(dbspace/coserverid) must specify a column." A
related
dbinfo()argument error, on the argument not naming a column at all rather than naming one qualified by a view. - -23927 — "Third arg of dbinfo(dbspace/coserverid) must be string
'currentrow'." A related
dbinfo()argument error, on the third argument rather than the second.
dbinfo('dbspace'/'coserverid', ...)'s second argument was qualified by a view —
requalify it to a table name.