Menu

#165 Patch: Insert Binary data in VARCHAR and BYTE fields

open
nobody
None
5
2013-01-06
2011-05-10
No

We have implemented some code to describe binary data for BYTE and VARCHAR. This is useful for siutations in which you want to store non readable characters in fields with these types.

One example would be binary coded decimal (BCD) fields in CHAR FOR BITDATA columns which is e.g. supported by DB2.

Currently it only supports values up to 64 Bits and uses a hardcoded prefix to distinguish a normal String from a String with a binary sequence.

A patch with the change and corresponding tests is appendet.

Cheers,
Chris Stahlhut for the BLUECARAT developement team.

Discussion

  •  blueCarat AG

    blueCarat AG - 2011-05-13

    Patch for the described implementation

     
  •  blueCarat AG

    blueCarat AG - 2011-05-13

    Update: Unfortunately there where some errors in the file headers and unnecessary todos. This is now fixed. :)

    Cheers,
    Chris Stahlhut

     

Log in to post a comment.