ODBC/MX Driver for Windows Manual (SQL/MX 2.x)
ODBC/MX Conformance
HP NonStop ODBC/MX Driver for Windows—527888-004
5-3
ODBC API Functions
Table 5-3. Setting and Retrieving Driver Attributes
Function
ODBC
Version
Supported by
ODBC/MX Description
SQLSetConnectAttr 3.0 Yes Sets a connection attribute.
SQLGetConnectAttr 3.0 Yes Returns the value of a connection
attribute.
SQLSetEnvAttr 3.0 Yes Sets an environment attribute.
SQLGetEnvAttr 3.0 Yes Returns the value of an environment
attribute.
SQLSetStmtAttr 3.0 Yes Sets a statement attribute.
Note: See the considerations under
SQL_QUERY_TIMEOUT Option
on
page 1-8.
SQLGetStmtAttr 3.0 Yes Returns the value of a statement
attribute.
Table 5-4. Setting and Retrieving Descriptor Fields
Function
ODBC
Version
Supported by
ODBC/MX Description
SQLSetDescField 3.0 Yes Sets one descriptor field.
SQLGetDescField 3.0 Yes Returns the value of one descriptor
field.
SQLSetDescRec 3.0 Yes Sets multiple descriptor fields.
SQLGetDescRec 3.0 Yes Returns the value of multiple descriptor
fields.
Table 5-5. Preparing SQL Requests
Function
ODBC
Version
Supported by
ODBC/MX Description
SQLPrepare 1.0 Yes Prepares an SQL statement for later
execution.
SQLBindParameter 2.0 Yes Assigns storage for a parameter in an
SQL statement.
SQLGetCursorName 1.0 Yes Returns the cursor name associated
with a statement handle.
SQLSetCursorName 1.0 Yes Specifies a cursor name.
SQLSetScrollOption 1.0 No Sets the option that controls cursor
behavior.