4D v16ODBC_SQLGetData |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v16
ODBC_SQLGetData
|
ODBC_SQLGetData ( stmtID ; colNb ; targetValPtr ; strLenOrInd ) -> 戻り値 | ||||||||
引数 | 型 | 説明 | ||||||
stmtID | 倍長整数 |
![]() |
Statement ID | |||||
colNb | 倍長整数 |
![]() |
Number of the column for which to return data | |||||
targetValPtr | ポインター |
![]() |
Pointer to a variable in which to return the data | |||||
strLenOrInd | 倍長整数 |
![]() |
Length or indicator value | |||||
戻り値 | 倍長整数 |
![]() |
Returns the result of the MS ODBC API function SQLGetData | |||||
The ODBC_SQLGetData command retrieves data for a single column defined by colNb in the result set. It can be called multiple times to retrieve variable-length data in parts.
stmtID is a valid statement ID returned by ODBC_SQLAllocStmt.
colNb is the number of the column to receive the data.
targetValPtr is a pointer to the variable in which to return the data.
strLenOrInd is the length or indicator value of the value returned in targetValPtr.
For more information, please see the SQLGetData function in the MS ODBC API Reference at http://msdn.microsoft.com/en-us/library/ms715441(VS.85).aspx.
SQL_SUCCESS, SQL_SUCCESS_WITH_INFO, SQL_NO_DATA, SQL_STILL_EXECUTING, SQL_ERROR, or SQL_INVALID_HANDLE.
プロダクト: 4D
テーマ: ODBC_Results
番号:
16958
初出: 4D ODBC Pro 2004
4D ODBC Pro ( 4D v16)