ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzaik_5.4.0.1/rzaikodbclobdatalink.htm

83 lines
4.5 KiB
HTML

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en-us" xml:lang="en-us">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="security" content="public" />
<meta name="Robots" content="index,follow" />
<meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' />
<meta name="DC.Type" content="reference" />
<meta name="DC.Title" content="Large objects (LOBs) considerations" />
<meta name="abstract" content="Use LOBs with iSeries Access for Windows ODBC to store and access large text documents." />
<meta name="description" content="Use LOBs with iSeries Access for Windows ODBC to store and access large text documents." />
<meta name="DC.Relation" scheme="URI" content="rzaikodbcapifunctions.htm" />
<meta name="DC.Relation" scheme="URI" content="rzaikblobex.htm" />
<meta name="copyright" content="(C) Copyright IBM Corporation 1999, 2006" />
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 1999, 2006" />
<meta name="DC.Format" content="XHTML" />
<meta name="DC.Identifier" content="odbclobdatalink" />
<meta name="DC.Language" content="en-us" />
<!-- All rights reserved. Licensed Materials Property of IBM -->
<!-- US Government Users Restricted Rights -->
<!-- Use, duplication or disclosure restricted by -->
<!-- GSA ADP Schedule Contract with IBM Corp. -->
<link rel="stylesheet" type="text/css" href="./ibmdita.css" />
<link rel="stylesheet" type="text/css" href="./ic.css" />
<title>Large objects (LOBs) considerations</title>
</head>
<body id="odbclobdatalink"><a name="odbclobdatalink"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Large objects (LOBs) considerations</h1>
<div><p>Use LOBs with iSeries™ Access for Windows<sup>®</sup> ODBC to store and access large
text documents. </p>
<div class="section"> <dl><dt class="dlterm">Large objects (LOBs):</dt>
<dd>Large object (LOB) data types allow applications to store large data objects
as strings. On V5R1, and earlier servers, the ODBC driver could access LOB
fields that were 15 MB or less in size. On V5R2 and later servers the ODBC
driver can access 2 GB LOBs. </dd>
<dd class="ddexpand">When uploading large LOB data fields to the server, it is recommended
that you use the SQLParamData and SQLPutData APIs. The SQLPutData API sends
the LOB data to the server as it is received and reduces the amount of memory
needed on the client.</dd>
<dd class="ddexpand"><dl><dt class="dlterm">LOB data types:</dt>
<dd> <dl><dt class="dlterm">BLOB</dt>
<dd>Binary large data objects</dd>
<dt class="dlterm">CLOB</dt>
<dd>Single-byte large character data objects</dd>
<dt class="dlterm">DBCLOB</dt>
<dd>Double-byte character large data objects</dd>
</dl>
</dd>
<dt class="dlterm">To view an example that uses the BLOB data type:</dt>
<dd>See <a href="rzaikblobex.htm">Example: Use the BLOB data type</a></dd>
<dt class="dlterm">For more information on LOBs:</dt>
<dd>See the <strong>Using Large Objects</strong> topic under the <strong>Using the Object-Relational
Capabilities</strong> heading in the <a href="../sqlp/rbafykickoff.htm">SQL Programming Concepts</a> Information Center topic.</dd>
</dl>
</dd>
</dl>
</div>
<div class="section"> <dl><dt class="dlterm">DataLinks:</dt>
<dd>DataLink data types allow you to store many types of data in a database.
Data is stored as a uniform resource locator (URL). The URL points to an object,
which might be an image file, sound file, text file, and so forth. <dl><dt class="dlterm">For more information on DataLinks:</dt>
<dd>See the <strong>Using DataLinks</strong> topic under the <strong>Processing special data
types</strong> heading in the <a href="../sqlp/rbafykickoff.htm">SQL Programming Concepts</a> Information Center topic.</dd>
</dl>
</dd>
</dl>
</div>
</div>
<div>
<ul class="ullinks">
<li class="ulchildlink"><strong><a href="rzaikblobex.htm">Example: Use the BLOB data type</a></strong><br />
</li>
</ul>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzaikodbcapifunctions.htm" title="Learn about implementations issues when using ODBC APIs.">Implementation issues of ODBC APIs</a></div>
</div>
</div>
</body>
</html>