The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

<!--  Presentation generated by Internet Assistant for Microsoft PowerPoint 97 -->

<HTML>
<HEAD>

<meta name="GENERATOR" content="Microsoft Internet Assistant for Microsoft PowerPoint 97">
 <TITLE>Handling LONG/BLOB data</TITLE> 
</HEAD>

<BODY     >

<CENTER>
<TABLE WIDTH=100%> 
     <TR> <TD WIDTH=100% ALIGN=CENTER>
         <A HREF="sld001.htm">First</A>&nbsp;&nbsp;
         <A HREF="sld062.htm">Previous</A>&nbsp;&nbsp;
         <A HREF="sld064.htm">Next</A>&nbsp;&nbsp;
         <A HREF="sld080.htm">Last</A>&nbsp;&nbsp;
&nbsp;&nbsp;         <A HREF="index.htm">Index</A>&nbsp;&nbsp;
         <A HREF="http://dbi.perl.org">Home</A>&nbsp;&nbsp;
         <A HREF="tsld063.htm">Text</A>&nbsp;&nbsp;
     </TD> </TR>
     <TR> <TD WIDTH=100% ALIGN=CENTER>
         <IMG SRC="img063.gif" usemap="#Objmap" WIDTH=800 HEIGHT=600 BORDER=0>
     </TD> </TR>
</TABLE>
<P>Slide 63 of 80</P>
</CENTER>
<!-- <UL>
<H2>Handling LONG/BLOB data</H2>
</UL></P>
<P><UL>
<LI><H2>What makes LONG / BLOB / MEMO data special?
</H2>
<UL>
<LI>Not practical to pre-allocate fixed size buffers for worst case
<LI>
</UL></UL><UL>
<LI><H2>Fetching LONGs - treat as normal fields after setting:
</H2>
<UL>
<LI>$dbh-&#062{LongReadLen} - buffer size to allocate for expected data
<LI>$dbh-&#062{LongTruncOk} - should truncating-to-fit be allowed
<LI>
</UL></UL><UL>
<LI><H2>Inserting LONGs
</H2>
<UL>
<LI>The limitations of string literals
<LI>The benefits of placeholders
<LI>
</UL></UL><UL>
<LI><H2>Chunking / Piecewise processing not supported
</H2>
<UL>
<LI>So you're limited to available memory
<LI>Some drivers support blob_read()and other private method
</UL></UL><UL>
<H2>-</H2>
</UL></P>
<P>  -->
</Body>
</HTML>