| Previous | Next |
| DB_S_BUFFERFULL | DB_S_CANTRELEASE |
DB_S_NORESULT
OLE DB has no further result object
DB_S_NORESULT is HRESULT 265929 (0x00040EC9) from Microsoft OLE DB. The documented description is “No more results.” The high-order severity bit is clear, so this is a success result, but it carries more information than plain S_OK.
The result-retrieval call completed and there is no additional result object of the requested kind.
Where the result is encountered
- This result can appear in multiple-result commands; record the producing interface and method.
- This result can appear in batches containing statements that produce no rowset; record the producing interface and method.
- It can appear in iteration across rowsets, row counts, and output-only results; record the producing interface and method.
State to verify
The central question is whether the caller interprets absence according to the requested result type and does not confuse it with command execution failure.
Diagnostic sequence
- Capture the raw HRESULT
0x00040EC9immediately after the returning method and record whether the caller usedSUCCEEDED,FAILED, equality testing, or exception translation. - Verify the method-specific state: the caller interprets absence according to the requested result type and does not confuse it with command execution failure.
Evidence to preserve
- Preserve result index.
- Preserve requested IID and result flags.
- Preserve statement sequence.
- Preserve row counts already returned.
- Preserve output parameter availability.
Correct handling, retry, and recovery
End or advance result processing as documented. Do not retry the command merely to force a rowset when the statement legitimately produces none.
Difference from nearby HRESULT values
DB_S_NONEXTROWSET emphasizes no next rowset; it can indicate no more result for the current retrieval request.
Practical validation scenario
A batch performs an update followed by a select. The consumer sees a no-rowset result for the update, advances, and then retrieves the select rowset without treating the first status as failure.
Developer and administrator guidance
References
Looking for a different code? Search another status or error code.