Quantcast
Channel: SCN : Discussion List - SAP Adaptive Server Enterprise (SAP ASE) for Custom Applications
Viewing all articles
Browse latest Browse all 685

Getting data via ODBC gets truncated when exceeding the TextSize length

$
0
0

Hi,

 

 

I'm writing an ODBC program that read data via ODBC from Sybase ASE.

I'm using the following API's to extract the data:

 

 

Method 1: SQLGetData

Method 2: SQLBindCol, SQLExecute, and SQLFetch to fetch the data.

 

 

 

 

When i'm trying to get 'big' data, that exceed the TextSize length (default is 32K), its get truncated without issuing even a warning message.

I tried to change the TexSize in the connection string, but the connection failed with size bigger that 160K.

 

 

This limitation is crucial for me, cause it mean that i cannot extract LOB's and other 'big' data.

 

 

Is there a way to workaround it?

Where the limitation come from, the ODBC client?

 

   

 

Thanks,

Dror


Viewing all articles
Browse latest Browse all 685

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>