Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^2: Updating/inserting Binary data using DBIx::Class

by hrr (Monk)
on Aug 21, 2006 at 13:06 UTC ( [id://568531]=note: print w/replies, xml ) Need Help??


in reply to Re: Updating/inserting Binary data using DBIx::Class
in thread Updating/inserting Binary data using DBIx::Class

Hi jesuashok:

Thank you for thinking about my problem! More details are as follows.
  • DB2 Version 8.1.2. (It seems that I can insert binary strings using this DB2 version, since bind_param(... {TYPE => DBI::SQL_BINARY}) works well.)
  • OS: Linux, openSUSE 10.1.
  • There is no error message. However, character codes larger thatn 127 are reduced to a smaller value. For example, chr(0xe3) is changed to chr(0x1a). I find out the latter code by using a SELECT ASCII(col_name) FROM ... query.

Replies are listed 'Best First'.
A reply falls below the community's threshold of quality. You may see it by logging in.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://568531]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (6)
As of 2024-04-19 12:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found