Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Error : oRecordser.DoQuery(strsql )

'*******************************

strsql="SELECT CONVERT(REAL, RIGHT(LEFT(Code,LEN(Code) - 0),LEN(Code)- (0))) AS KEY_NEW FROM [@USRDVKT] WHERE LEFT(Code,0)='' AND RIGHT(Code,0)='' ORDER BY KEY_NEW "

oRecordser.DoQuery(strsql )

'*******************************

When i excute command : oRecordser.DoQuery(strsql ), it message:

"The server threw an exception. (Exception from HRESULT: 0x80010105(RPC_E_SERVERFAULT))"

Please help me!

Thanks everybody !

Former Member
Former Member replied

Duc,

If the Error "HResult" means may be the given size in database is less than the give data.

If it helps give me reward points

Thanks,

Regards,

Anitha

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question