ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzatc_5.4.0.1/rzatccopycol.htm

76 lines
4.3 KiB
HTML
Raw Normal View History

2024-04-02 14:02:31 +00:00
<?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="copyright" content="(C) Copyright IBM Corporation 2005" />
<meta name="DC.rights.owner" content="(C) Copyright IBM Corporation 2005" />
<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="task" />
<meta name="DC.Title" content="Copy column definitions" />
<meta name="DC.Relation" scheme="URI" content="rzatccrttable.htm" />
<meta name="DC.Format" content="XHTML" />
<meta name="DC.Identifier" content="rzatccopycol" />
<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>Copy column definitions</title>
</head>
<body id="rzatccopycol"><a name="rzatccopycol"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Copy column definitions</h1>
<div><div class="section">To copy column definitions, follow these steps:</div>
<ol><li><span>On the SUPPLIER Table Properties or the New Table window, click <span class="uicontrol">Browse</span>.</span></li>
<li><span>On the Browse Tables window, expand <span class="uicontrol">SAMPLELIB</span>.</span></li>
<li><span>Click <span class="uicontrol">INVENTORY_LIST</span>. The columns in that
table are listed, along with their data type, size, and description.</span></li>
<li><span>Select <span class="uicontrol">ITEM_NUMBER</span>.</span></li>
<li><span>Click <span class="uicontrol">Add</span> to copy this column definition
to table SUPPLIERS.</span></li>
<li><span>Close the Browse Columns window.</span></li>
</ol>
<div class="section">Add the last two columns for table SUPPLIERS with the following values:
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" width="100%" frame="border" border="1" rules="all"><thead align="left"><tr><th valign="top" width="25.040916530278235%" id="d0e56">Column name </th>
<th valign="top" width="14.402618657937808%" id="d0e58">Type</th>
<th valign="top" width="11.783960720130933%" id="d0e60">Length </th>
<th valign="top" width="13.911620294599016%" id="d0e62">Precision</th>
<th valign="top" width="8.8379705400982%" id="d0e64">Scale </th>
<th valign="top" width="12.438625204582651%" id="d0e66">Nullable </th>
<th valign="top" width="13.584288052373159%" id="d0e68">Default value</th>
</tr>
</thead>
<tbody><tr><td valign="top" width="25.040916530278235%" headers="d0e56 ">SUPPLIER_NUMBER</td>
<td valign="top" width="14.402618657937808%" headers="d0e58 ">CHAR</td>
<td valign="top" width="11.783960720130933%" headers="d0e60 ">4</td>
<td valign="top" width="13.911620294599016%" headers="d0e62 ">&nbsp;</td>
<td valign="top" width="8.8379705400982%" headers="d0e64 ">&nbsp;</td>
<td valign="top" width="12.438625204582651%" headers="d0e66 ">No</td>
<td valign="top" width="13.584288052373159%" headers="d0e68 ">0</td>
</tr>
<tr><td valign="top" width="25.040916530278235%" headers="d0e56 ">SUPPLIER_COST</td>
<td valign="top" width="14.402618657937808%" headers="d0e58 ">DECIMAL</td>
<td valign="top" width="11.783960720130933%" headers="d0e60 ">&nbsp;</td>
<td valign="top" width="13.911620294599016%" headers="d0e62 ">8</td>
<td valign="top" width="8.8379705400982%" headers="d0e64 "> 2 </td>
<td valign="top" width="12.438625204582651%" headers="d0e66 ">Yes</td>
<td valign="top" width="13.584288052373159%" headers="d0e68 ">NULL</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzatccrttable.htm">Create a table and define a column</a></div>
</div>
</div>
</body>
</html>