[DB-SIG] oracledb module 0.2pre1 LONGs?

M.-A. Lemburg mal@lemburg.com
Wed, 16 Dec 1998 11:45:35 +0100


Richard Jones wrote:
> 
>    Does anyone have LONG fetching working with 0.2pre1?
> 
>    Basically, the current oracledb 0.2pre1 can't figure the size of the long to
> fetch and thus fetches nothing.

I'm not familiar with OCI, but...

Couldn't the module just go and fetch the data in fixed sized chunks
until the API returns less data than the chunk size ? In ODBC there's
a SQLGetData API that works much like that (and is used for LONGs
and columns for which the exact data element size is undefined at
bind time).

-- 
Marc-Andre Lemburg                               Y2000: 380 days left
---------------------------------------------------------------------
          : Python Pages >>> http://starship.skyport.net/~lemburg/  :
           ---------------------------------------------------------