SQLSetStmtAttr(hstmt,SQL_ATTR_ROW_BIND_TYPE,SQL_BIND_BY_COLUMN,0);
SQLSetStmtAttr(hstmt,SQL_ATTR_ROW_ARRAY_SIZE ,SQLPOINTER(nRows2Read) ,SQL_IS_INTEGER );
nRows2Read=4;
SQLCHAR sBuffer[nRows2Read+1][20];
SQLINTEGER sBuffer_ind[nRows2Read+1];
cliRC = SQLBindCol(hstmt,i+1,SQL_C_CHAR,(SQLPOINTER)(sBuffer) ,20 ,sBuffer_ind);
printf
sBuffer[0] : MT103
sBuffer[1] : MT103
sBuffer[2] : MT103
sBuffer[4] : MT103