 |
 |
 |
|
|  |  |
 |
SQLBindCol ..msdn Add comment W32 Constants Translate this page |
 |
 |
|
SQLBindCol binds application data buffers to columns in the result set. |
 |  | | Code examples: |  | |
|
 |  | | Declaration: |  |  |
SQLRETURN SQLBindCol(
SQLHSTMT StatementHandle,
SQLUSMALLINT ColumnNumber,
SQLSMALLINT TargetType,
SQLPOINTER TargetValuePtr,
SQLINTEGER BufferLength,
SQLLEN * StrLen_or_Ind);
|
 |  |  | | FoxPro declaration: |  |  |
DECLARE SHORT SQLBindCol IN odbc32;
INTEGER StatementHandle,;
SHORT ColumnNumber,;
SHORT TargetType,;
INTEGER TargetValuePtr,;
INTEGER BufferLen,;
INTEGER StrLen_or_Ind
|
 |  |  | | Parameters: |  | StatementHandle
[Input]
Statement handle.
ColumnNumber
[Input]
Number of the result set column to bind.
TargetType
[Input]
The identifier of the C data type of the *TargetValuePtr buffer.
TargetValuePtr
[Deferred Input/Output]
Pointer to the data buffer to bind to the column. SQLFetch and SQLFetchScroll return data in this buffer.
BufferLength
[Input]
Length of the *TargetValuePtr buffer in bytes.
StrLen_or_IndPtr
[Deferred Input/Output]
Pointer to the length/indicator buffer to bind to the column. SQLFetch and SQLFetchScroll return a value in this buffer. |
 |  | | Return value: |  | | SQL_SUCCESS (0), SQL_SUCCESS_WITH_INFO, SQL_ERROR (-1), or SQL_INVALID_HANDLE (-2). |
 |  | | Translate this page: |  | |  |  | | • |  | | Created: | 2003-05-28 09:07:01 | | Modified: | 2003-05-28 09:10:28 | Visited in last 7 days: 33 |
|
 |
 |
 |
 |
Copyright © 2001-2013
News2News, Inc.
Before reproducing or distributing any data from this site please ask for an approval from its owner. Unless otherwise specified, this page is for your personal and non-commercial use.
The information on this page is presented AS IS, meaning that you may use it at your own risk.
Microsoft Visual FoxPro
and Windows are trade marks
of Microsoft Corp.
All other trademarks are the property of their respective owners.
Privacy policy
|
 |
 |
 |
Credits: PHP (4.4.9), an HTML-embedded scripting language,
MySQL (5.1.55-log), the Open Source standard SQL database,
AceHTML Freeware
Version 4, freeware HTML Editor of choice. Hosted by Korax Online Inc. |
 |
 |
|
 |
 |
|
|