56 lines
3.5 KiB
HTML
56 lines
3.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="iDB2CommandBuilder restrictions on pre-V5R2M0 servers" />
|
||
|
<meta name="abstract" content="Due to limitations in iSeries i5/OS releases prior to V5R2M0, using the iDB2CommandBuilder on these servers has limited support." />
|
||
|
<meta name="description" content="Due to limitations in iSeries i5/OS releases prior to V5R2M0, using the iDB2CommandBuilder on these servers has limited support." />
|
||
|
<meta name="DC.Relation" scheme="URI" content="rzaikdotnetprovider.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="dotnetcmdbldrestrictions" />
|
||
|
<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>iDB2CommandBuilder restrictions on pre-V5R2M0 servers</title>
|
||
|
</head>
|
||
|
<body id="dotnetcmdbldrestrictions"><a name="dotnetcmdbldrestrictions"><!-- --></a>
|
||
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
||
|
<h1 class="topictitle1">iDB2CommandBuilder restrictions on pre-V5R2M0 servers</h1>
|
||
|
<div><p>Due to limitations in iSeries™ <span class="keyword">i5/OS™</span> releases
|
||
|
prior to V5R2M0, using the iDB2CommandBuilder on these servers has limited
|
||
|
support.</p>
|
||
|
<div class="section"><p>Properly specifying Select command text on the iDB2Command object
|
||
|
used with the iDB2CommandBuilder is key when connecting to pre-V5R2M0 servers.
|
||
|
Here are some recommended guidelines for creating Select statements for use
|
||
|
on pre-V5R2M0 servers. </p>
|
||
|
<ul><li>Simple statements produce the best results. For example, SELECT * FROM
|
||
|
MYSCHEMA.MYTABLE. </li>
|
||
|
<li>Fully qualify the table name with its schema. For example, MYSCHEMA.MYTABLE. </li>
|
||
|
<li>Selection fields are allowed, but must be specified in simple format.
|
||
|
Only columns specified in the query table should be used. For example, SELECT
|
||
|
ID, NAME, BALANCE FROM MYSCHEMA.MYTABLE. </li>
|
||
|
<li>Derived fields or constants in the selection criteria are discouraged.
|
||
|
They may produce unpredictable results. For example, SELECT ID, LENGTH(NAME),
|
||
|
'Name' FROM MYSCHEMA.MYTABLE.</li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div>
|
||
|
<div class="familylinks">
|
||
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzaikdotnetprovider.htm" title="iSeries Access for Windows .NET provider allows .NET managed programs to access the iSeries database files using SQL.">iSeries Access for Windows .NET provider</a></div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</body>
|
||
|
</html>
|