|
Not sure if this sheds any more light on it either
but we just got another one of these errors for the following sql:
sel sum(qtyremaining) from trandetail
where tranid in (sel tranid from tranmaster where districtno='73676' and trantype='dw' and sget(reqno,2,1)='pr') and stockno='6352-PP' group by stockno and the oterro log just returns a -1 for SQL_ERROR
on a perfectly ok (as far as i can tell) peice of sql, whats wierd is that
only a couple minutes earlier this same sql went through without error so i know
it isnt the sql thats the problem:
SQLFreeStmt ****************** ENTER 11/06/2003
13:23:13.828
hStmt HSTMT (0x27F8260) 41910880 fOption UWORD (0x0) 0 SQLExecDirect ****************** EXIT 11/06/2003 13:23:13.828 hStmt HSTMT (0x297B7B4) 43497396 szSqlStr UCHAR * "sel sum(qtyremaining) from trandetail where tranid in (sel tranid from tranmaster where districtno='73676' and trantype='dw' and sget(reqno,2,1)='pr') and stockno='6352-PP' group by stockno " cbSqlStr SDWORD (0xC1) 193 RETURN = (FFFFFFFF) -1 SQL_ERROR SQLError ****************** ENTER 11/06/2003
13:23:13.828
hEnv HENV (0x0) 0 hDbc HDBC (0x0) 0 hStmt HSTMT (0x297B7B4) 43497396 szSqlState UCHAR * "@�" pfNativeError SDWORD * (0x3A0063) 3801187 0x1EFF630 szErrorMsg UCHAR * "OUTPUT PARAM" cbErrorMsgMax SWORD (0x200) 512 pcbErrorMsg SWORD * (0x3CF8) 15608 0x1EFF63C SQLError ****************** EXIT 11/06/2003 13:23:13.828 hEnv HENV (0x0) 0 hDbc HDBC (0x0) 0 hStmt HSTMT (0x297B7B4) 43497396 szSqlState UCHAR * "00000" pfNativeError SDWORD * (0x0) 0 0x1EFF630 szErrorMsg UCHAR * "" cbErrorMsgMax SWORD (0x200) 512 pcbErrorMsg SWORD * (0x0) 0 0x1EFF63C RETURN = (64) 100 SQL_NO_DATA_FOUND SQLError ****************** ENTER 11/06/2003
13:23:13.828
hEnv HENV (0x0) 0 hDbc HDBC (0x0) 0 hStmt HSTMT (0x297B7B4) 43497396 szSqlState UCHAR * "" pfNativeError SDWORD * (0x43014320) 1124156192 0x1EFEF00 szErrorMsg UCHAR * "OUTPUT PARAM" cbErrorMsgMax SWORD (0x200) 512 pcbErrorMsg SWORD * (0xFFFFEE88) -4472 0x1EFEF04 SQLError ****************** EXIT 11/06/2003 13:23:13.828 hEnv HENV (0x0) 0 hDbc HDBC (0x0) 0 hStmt HSTMT (0x297B7B4) 43497396 szSqlState UCHAR * "00000" pfNativeError SDWORD * (0x0) 0 0x1EFEF00 szErrorMsg UCHAR * "" cbErrorMsgMax SWORD (0x200) 512 pcbErrorMsg SWORD * (0x0) 0 0x1EFEF04 RETURN = (64) 100 SQL_NO_DATA_FOUND
|
- [RBASE-L] - Re: strange errors Walker, Buddy
- [RBASE-L] - Re: strange errors Alan Wolfe
- [RBASE-L] - Re: strange errors Alan Wolfe
- [RBASE-L] - Re: strange errors Albert Berry
- [RBASE-L] - Re: strange errors Alan Wolfe
- [RBASE-L] - Re: strange errors Albert Berry
- [RBASE-L] - Re: strange errors Alan Wolfe

