Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

Re: DBI Placeholders and DB2 Integers

by mje (Curate)
on Apr 11, 2012 at 08:06 UTC ( #964469=note: print w/replies, xml ) Need Help??

in reply to DBI Placeholders and DB2 Integers

As moritz has said, setting DBI_TRACE=15=x.log, running your script and looking at x.log might give you a clue.

Annoyingly you cannot see the Changes file for DBD::DB2 on unless you browse the sources. doesn't seem to suggest any relevant bugs were fixed between 1.78 and 1.84.

I can happily insert numbers into an integer column using bound parameters with DBD::ODBC and the db2 driver.

Out of interest, exactly what is in ($enc_comp_off, $enc_comp_len, $enc_doc_off, $enc_doc_len) - you didn't show us.

Replies are listed 'Best First'.
Re^2: DBI Placeholders and DB2 Integers
by moritz (Cardinal) on Apr 11, 2012 at 08:38 UTC

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://964469]
[marto]: ah, so this is payback :P
[LanX]: problem with booking venues is that you only know the number of participants a week in advance. ..
[marto]: I guess most cities have areas similar to this, I tend not to mind personally, but would not go out of my way to head down that way
[marto]: it'll probably be fine.
[marto]: LanX: I appreciate that, it's honestly a difficult thing, a fine balance
[marto]: I'm sure it'll be fun :)
[marto]: of course I can take you to some of the best/worst bars in Glasgow ;)
[LanX]: is Glasgow that city where catholics and protestants fight in bars? ; )

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (12)
As of 2017-12-14 15:56 GMT
Find Nodes?
    Voting Booth?
    What programming language do you hate the most?

    Results (396 votes). Check out past polls.