SQLGetStmtAttr

This function returns the current settings of the specified statement attribute.

Syntax :

RETCODE SQLGetStmtAttr(hstmt, fAttr, pvParam, bufLen, strLen);

Arguments :

The arguments for SQLGetStmtAttr are listed in below table.

TypeNameDescription
SQLHSTMThstmtStatement handle
SQLINTEGERfAttrAttribute to retrieve
SQLPOINTERvParamValue associated with fAttr
SQLINTEGERbufLenMaximum number of bytes to store in pvParm, if the value is a character string; otherwise, unused.
SQLINTEGER*strLenLength of the output data, if the attribute is a character string; otherwise, unused
Page last modified on September 26, 2009, at 01:54 AM