Connector/ODBC Reference
1800
Table 20.10. ODBC API Calls for Submitting Requests
Function Name
Connector/
ODBC
Supports?
Standard
Purpose
SQLExecute
Yes
ISO 92
Executes a prepared statement.
SQLExecDirect
Yes
ISO 92
Executes a statement
SQLNativeSql
Yes
ODBC
Returns the text of an SQL statement as
translated by the driver.
SQLDescribeParam
Yes
ODBC
Returns the description for a specific parameter in
a statement.
SQLNumParams
Yes
ISO 92
Returns the number of parameters in a statement.
SQLParamData
Yes
ISO 92
Used in conjunction with
SQLPutData
to supply
parameter data at execution time. (Useful for long
data values.)
SQLPutData
Yes
ISO 92
Sends part or all of a data value for a parameter.
(Useful for long data values.)
Table 20.11. ODBC API Calls for Retrieving Results and Information about Results
Function Name
Connector/
ODBC
Supports?
Standard
Purpose
SQLRowCount
Yes
ISO 92
Returns the number of rows affected by an insert,
update, or delete request.
SQLNumResultCols
Yes
ISO 92
Returns the number of columns in the result set.
SQLDescribeCol
Yes
ISO 92
Describes a column in the result set.
SQLColAttribute
Yes
ISO 92
Describes attributes of a column in the result set.
SQLColAttributes
Yes
Deprecated Describes attributes of a column in the result set.
SQLFetch
Yes
ISO 92
Returns multiple result rows.
SQLFetchScroll
Yes
ISO 92
Returns scrollable result rows.
SQLExtendedFetch
Yes
Deprecated Returns scrollable result rows.
SQLSetPos
Yes
ODBC
Positions a cursor within a fetched block of data
and enables an application to refresh data in the
rowset or to update or delete data in the result set.
SQLBulkOperations
Yes
ODBC
Performs bulk insertions and bulk bookmark
operations, including update, delete, and fetch by
bookmark.
Table 20.12. ODBC API Calls for Retrieving Error or Diagnostic Information
Function Name
Connector/
ODBC
Supports?
Standard
Purpose
SQLError
Yes
Deprecated Returns additional error or status information
SQLGetDiagField
Yes
ISO 92
Returns additional diagnostic information (a single
field of the diagnostic data structure).
SQLGetDiagRec
Yes
ISO 92
Returns additional diagnostic information (multiple
fields of the diagnostic data structure).
Summary of Contents for 5.0
Page 1: ...MySQL 5 0 Reference Manual ...
Page 18: ...xviii ...
Page 60: ...40 ...
Page 396: ...376 ...
Page 578: ...558 ...
Page 636: ...616 ...
Page 844: ...824 ...
Page 1234: ...1214 ...
Page 1427: ...MySQL Proxy Scripting 1407 ...
Page 1734: ...1714 ...
Page 1752: ...1732 ...
Page 1783: ...Configuring Connector ODBC 1763 ...
Page 1793: ...Connector ODBC Examples 1773 ...
Page 1839: ...Connector Net Installation 1819 2 You must choose the type of installation to perform ...
Page 2850: ...2830 ...
Page 2854: ...2834 ...
Page 2928: ...2908 ...
Page 3000: ...2980 ...
Page 3122: ...3102 ...
Page 3126: ...3106 ...
Page 3174: ...3154 ...
Page 3232: ...3212 ...