75 #define buffer_len 128
83 if (ressize==SQL_NULL_DATA) {
91 if (retcode==SQL_SUCCESS_WITH_INFO) {
94 SQLGetDiagRec(SQL_HANDLE_STMT,
fHstmt, 1, state, &code, 0, 0, 0);
96 if (strcmp((
char*)state,
"01004")==0) {
99 char* newbuf =
new char[ressize+10];
104 retcode = SQLGetData(
fHstmt, field+1, SQL_C_CHAR, newbuf, ressize+10-
buffer_len, &ressize);
TODBCRow(const TODBCRow &)=delete
void Close(Option_t *opt="") final
Close row.
const char * GetField(Int_t field) final
Get specified field from row (0 <= field < GetFieldCount()).
ULong_t GetFieldLength(Int_t field) final
Get length in bytes of specified field.
virtual ~TODBCRow()
Destroy row object.
void CopyFieldValue(Int_t field)
Extracts field value from statement.