22 #ifndef __ODBCXX_STATEMENT_H
23 #define __ODBCXX_STATEMENT_H
47 return connection_->_getDriverInfo();
70 void _applyResultSetType();
99 bool unique,
bool approximate);
121 int what,
int scope,
int nullable);
125 int resultSetType,
int resultSetConcurrency);
128 SQLUINTEGER _getNumericOption(SQLINTEGER optnum);
131 void _setNumericOption(SQLINTEGER optnum, SQLUINTEGER
value);
134 #if ODBCVER >= 0x0300
135 SQLPOINTER _getPointerOption(SQLINTEGER optnum);
136 void _setPointerOption(SQLINTEGER optnum, SQLPOINTER
value);
140 bool _checkForResults();
144 ResultSet* _getResultSet(
bool hideMe =
false);
148 void _beforeExecute();
151 void _afterExecute();
192 int getUpdateCount();
201 bool getMoreResults();
214 void setFetchSize(
int size);
218 return resultSetConcurrency_;
223 return resultSetType_;
227 int getQueryTimeout();
229 void setQueryTimeout(
int seconds);
234 void setMaxRows(
int maxRows);
237 int getMaxFieldSize();
239 void setMaxFieldSize(
int maxFieldSize);
246 void setEscapeProcessing(
bool on);
252 bool getEscapeProcessing();
260 #endif // __ODBCXX_STATEMENT_H