开发者

RWDBReader Cannot read more than 255 characters

开发者 https://www.devze.com 2023-01-27 02:26 出处:网络
We\'re using Rogue Wave tools for our database operations, writing in C++. When we try to read the results of a simple SQL query, like:

We're using Rogue Wave tools for our database operations, writing in C++. When we try to read the results of a simple SQL query, like:

RWDBResult  resParam = VimerParamTblSlc.execute (pConn);

RWDBTable resultParam = resParam.table ();
RWDBReader rdrParam = resultParam.reader ();
if (rdrParam()) 
{
    // getting the resulting row fro, the reader
}

If the result contains more than 255 characters, then the reader (rdrParam) doesn't load the row at all, I mean it can't pass the if condition.

Is there a way to set this character limit for read开发者_开发问答ing? Thanks.


We learn that it was a version problem with the adaptive server of Sybase and not RogueWave's fault. You need both the adaptive server and Open Client of version 12.5(or later).

0

精彩评论

暂无评论...
验证码 换一张
取 消