Informix Error -25607: Statement not supported. Database not selected yet.
Cause and resolution
Statement not supported. Database not selected yet.
You issued an SQL statement that requires an open database, but you did not select a database. Select the desired database and retry the statement.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-25607 fires when a statement requiring an open database runs without one having been selected — per the official guidance.
- A statement requiring an open database issued before selecting one, per the official guidance — the direct, only cause.
Solutions / Resolution
- Select the desired database, then retry the statement, per the official guidance.
Examples
N/A
No specific triggering statement is documented beyond issuing a statement with no database selected.
Diagnostic Checks
- Check whether a database was selected (
DATABASE/CONNECT) before the failing statement, and select one if not.
Related Errors / Related Topics
No closely related error codes are cross-referenced for -25607 in this set yet.
A statement requiring an open database ran with none selected — select a database first.