in reply to Re: DBI fetch fails with "LOB value truncated from 80 to 80"
in thread DBI fetch fails with "LOB value truncated from 80 to 80"

blakem is correct. A bit more info: This is from memory (haven't got the right book to hand) but should be roughly right. ;)

hth,
andy.

  • Comment on Re: Re: DBI fetch fails with "LOB value truncated from 80 to 80"

Replies are listed 'Best First'.
Re: Re: Re: DBI fetch fails with "LOB value truncated from 80 to 80"
by blakem (Monsignor) on Nov 10, 2001 at 00:40 UTC
    Since nobody asked the obvious follow-up to my node, I'll do it myself....

    Q: What should LongReadLen actually be? How did you arrive at 66000?

    A: I dunno... cut'n'pasted it from some of my old code, itself being cut'n'pasted from a usenet post. If anyone knows the significance of 66000 or has another "favorite" value, I'd love to hear about it.

    -Blake

      _Programming the Perl DBI_ (Alligator Descartes & Tim Bunce) is a great source for this stuff...Look under DBD:Oracle, page 301. Says LongReadLen attribute seems limited to 65535 bytes under Oracle 7, but building DBD:Oracle with Oracle 8 gives you a 4GB limit. Don't ask me why, though.