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);
virtual ~TODBCRow()
Destroy row object.
TODBCRow(const TODBCRow &)
void Close(Option_t *opt="")
Close row.
void CopyFieldValue(Int_t field)
Extracts field value from statement.
ULong_t GetFieldLength(Int_t field)
Get length in bytes of specified field.
const char * GetField(Int_t field)
Get specified field from row (0 <= field < GetFieldCount()).