<html> <head> <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"> </head> <body> Thanks for your response. The Oracle documentation states that RAW datatypes can be up to 2KB
in size. The .GIF's I'm trying to insert are:

IPP_0002.GIF 1518b
IPP_0003.GIF 899b
IPP_0004.GIF 895b
IPP_0005.GIF 255b
IPP_0012.GIF 1265b
IPP_0015.GIF 902b

When I select them out of the database and write them to my cwd, I get:

IPP_0002.GIF 3036b
IPP_0003.GIF 1798b
IPP_0004.GIF 1790b
IPP_0005.GIF 510b
IPP_0012.GIF 2530b
IPP_0015.GIF 1804b

The gif's aren't being truncated, they're expanding!... ?

I can successfully insert/select BLOB's, CLOB's, LONG's. But I also need to be able to do
RAW's. I work in a test environment and my current task is to provide test cases for all of the
datatypes for the product my company is working on...

</body> </html>

In reply to Re: Re: DBD::Oracle - RAW datatypes by Anonymous Monk
in thread DBD::Oracle - RAW datatypes by teads

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.