ibm-information-center/dist/eclipse/plugins/i5OS.ic.sqlp_5.4.0.1/rbafyempresume.htm

92 lines
5.1 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="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="Employee resume table (EMP_RESUME)" />
<meta name="abstract" content="The employee photo table contains employee resumes and is stored by employee number." />
<meta name="description" content="The employee photo table contains employee resumes and is stored by employee number." />
<meta name="DC.subject" content="examples, table, EMP_RESUME, used in examples, sample tables, UDB for, DB2, iSeries" />
<meta name="keywords" content="examples, table, EMP_RESUME, used in examples, sample tables, UDB for, DB2, iSeries" />
<meta name="DC.Relation" scheme="URI" content="rbafysamptblx.htm" />
<meta name="DC.Relation" scheme="URI" content="rbafyxmpresume.htm" />
<meta name="copyright" content="(C) Copyright IBM Corporation 1998, 2006" />
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 1998, 2006" />
<meta name="DC.Format" content="XHTML" />
<meta name="DC.Identifier" content="rbafyempresume" />
<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>Employee resume table (EMP_RESUME)</title>
</head>
<body id="rbafyempresume"><a name="rbafyempresume"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Employee resume table (EMP_RESUME)</h1>
<div><p>The employee photo table contains employee resumes and is stored
by employee number.</p>
<div class="section"><p>The employee resume table is created with the following CREATE
TABLE and ALTER TABLE statements: </p>
<pre><strong>CREATE TABLE</strong> EMP_RESUME
(EMPNO CHAR(6) <strong>NOT NULL</strong>,
RESUME_FORMAT <strong>VARCHAR</strong>(10) <strong>NOT NULL</strong>,
RESUME <strong>CLOB</strong>(5K),
EMP_ROWID <strong>CHAR</strong>(40) <strong>NOT NULL DEFAULT</strong> '',
<strong>PRIMARY KEY</strong> (EMPNO,RESUME_FORMAT))
<strong>ALTER TABLE</strong> EMP_RESUME
<strong>ADD COLUMN</strong> DL_RESUME <strong>DATALINK</strong>(1000)
<strong>LINKTYPE URL NO LINK CONTROL</strong>
<strong>ALTER TABLE</strong> EMP_RESUME
<strong>ADD FOREIGN KEY</strong> (EMPNO)
<strong>REFERENCES</strong> EMPLOYEE
<strong>ON DELETE RESTRICT</strong></pre>
</div>
<div class="section"><p>The following index is created: </p>
<pre><strong>CREATE UNIQUE INDEX</strong> XEMP_RESUME
<strong>ON</strong> EMP_RESUME (EMPNO,RESUME_FORMAT)</pre>
</div>
<div class="section"><p>The table below shows the content of the columns.</p>
</div>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" width="100%" frame="void" border="1" rules="rows"><thead align="left"><tr><th align="left" valign="bottom" width="34.01015228426396%" id="d0e105">Column name</th>
<th align="left" valign="bottom" width="65.98984771573603%" id="d0e107">Description</th>
</tr>
</thead>
<tbody><tr><td align="left" valign="top" width="34.01015228426396%" headers="d0e105 ">EMPNO</td>
<td align="left" valign="top" width="65.98984771573603%" headers="d0e107 ">Employee number</td>
</tr>
<tr><td align="left" valign="top" width="34.01015228426396%" headers="d0e105 ">RESUME_FORMAT</td>
<td align="left" valign="top" width="65.98984771573603%" headers="d0e107 ">Format of text stored in RESUME</td>
</tr>
<tr><td align="left" valign="top" width="34.01015228426396%" headers="d0e105 ">RESUME</td>
<td align="left" valign="top" width="65.98984771573603%" headers="d0e107 ">Resume</td>
</tr>
<tr><td align="left" valign="top" width="34.01015228426396%" headers="d0e105 ">EMP_ROWID</td>
<td align="left" valign="top" width="65.98984771573603%" headers="d0e107 ">Unique row id, not currently used</td>
</tr>
</tbody>
</table>
</div>
</div>
<div>
<ul class="ullinks">
<li class="ulchildlink"><strong><a href="rbafyxmpresume.htm">EMP_RESUME</a></strong><br />
A complete listing of the data in table EMP_RESUME.</li>
</ul>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rbafysamptblx.htm" title="This topic contains the sample tables referred to and used in this topic and the SQL Reference topic collection.">DB2 UDB for iSeries sample tables</a></div>
</div>
</div>
</body>
</html>