SQLSetStmtAttr

This function sets attributes related to a statement.

Syntax :

RETCODE SQLSetStmtAttr(hstmt, fAttr, vParam, sLen);

Arguments :

The arguments for SQLSetStmtAttr are listed in below table.

TypeNameDescription
SQLHSTMThstmtStatement handle.
SQLINTEGERfAttrAttribute to set
SQLPOINTERvParamValue associated with Attribute
SQLINTEGERsLenLength of data if data is a character string; otherwise, unused.
Page last modified on September 26, 2009, at 01:53 AM