<!-- 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>
<A HREF="sld062.htm">Previous</A>
<A HREF="sld064.htm">Next</A>
<A HREF="sld080.htm">Last</A>
<A HREF="index.htm">Index</A>
<A HREF="http://dbi.perl.org">Home</A>
<A HREF="tsld063.htm">Text</A>
</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->{LongReadLen} - buffer size to allocate for expected data
<LI>$dbh->{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>