16.9.11 SQLMoreResults
- Organization of this subsection
(1) Function
This ODBC function initializes results when the SELECT, UPDATE, INSERT, or DELETE statement is executed.
Note that HADB returns SQL_NO_DATA.
(2) Format
SQLRETURN SQLMoreResults ( SQLHSTMT StatementHandle /* In */ )
(3) Arguments
- StatementHandle
-
Specifies a statement handle.
(4) Return value
This ODBC function returns SQL_NO_DATA, SQL_ERROR, or SQL_INVALID_HANDLE.
(5) SQLSTATE
This ODBC function returns one of the following SQLSTATE values:
SQLSTATE |
Description |
Remarks |
Returned |
---|---|---|---|
01000 |
General warning |
-- |
N |
01S02 |
Option value changed |
N |
|
08S01 |
Communication link failure |
N |
|
40001 |
Serialization failure |
N |
|
40003 |
Statement completion unknown |
N |
|
HY000 |
General error |
N |
|
HY001 |
Memory allocation error |
N |
|
HY008 |
Operation cancelled |
N |
|
HY010 |
Function sequence error |
Y |
|
HY013 |
Memory management error |
N |
|
HYT01 |
Connection timeout expired |
N |
|
IM001 |
Driver does not support this function |
N |
- Legend:
-
Y: This SQLSTATE might be returned by the HADB ODBC driver.
N: This SQLSTATE is not returned by the HADB ODBC driver.
--: None