102 lines
6.2 KiB
HTML
102 lines
6.2 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="Employee to project activity table (EMPPROJACT)" />
|
|
<meta name="abstract" content="The employee to project activity table identifies the employee who performs each activity listed for each project. The employee's level of involvement (full-time or part-time) and schedule for activity are also in the table." />
|
|
<meta name="description" content="The employee to project activity table identifies the employee who performs each activity listed for each project. The employee's level of involvement (full-time or part-time) and schedule for activity are also in the table." />
|
|
<meta name="DC.subject" content="examples, table, EMPPROJACT, used in examples, sample tables, UDB for, DB2, iSeries" />
|
|
<meta name="keywords" content="examples, table, EMPPROJACT, 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="rbafyxmpeact.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="rbafystprac" />
|
|
<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 to project activity table (EMPPROJACT)</title>
|
|
</head>
|
|
<body id="rbafystprac"><a name="rbafystprac"><!-- --></a>
|
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
|
<h1 class="topictitle1">Employee to project activity table (EMPPROJACT)</h1>
|
|
<div><p>The employee to project activity table identifies the employee
|
|
who performs each activity listed for each project. The employee's level of
|
|
involvement (full-time or part-time) and schedule for activity are also in
|
|
the table. </p>
|
|
<div class="section"><p>The employee to project activity table is created with the following
|
|
CREATE TABLE and ALTER TABLE statements: </p>
|
|
<pre><strong>CREATE TABLE</strong> EMPPROJACT
|
|
(EMPNO <strong>CHAR</strong>(6) <strong>NOT NULL</strong>,
|
|
PROJNO <strong>CHAR</strong>(6) <strong>NOT NULL</strong>,
|
|
ACTNO <strong>SMALLINT</strong> <strong>NOT NULL</strong>,
|
|
EMPTIME <strong>DECIMAL</strong>(5,2) ,
|
|
EMSTDATE <strong>DATE</strong> ,
|
|
EMENDATE <strong>DATE</strong> )
|
|
|
|
<strong>ALTER TABLE</strong> EMPPROJACT
|
|
<strong>ADD FOREIGN KEY</strong> REPAPA (PROJNO, ACTNO, EMSTDATE)
|
|
<strong>REFERENCES</strong> PROJACT
|
|
<strong>ON DELETE RESTRICT</strong></pre>
|
|
</div>
|
|
<div class="section"><p>The following aliases are created for the table: </p>
|
|
<pre><strong>CREATE ALIAS</strong> EMPACT <strong>FOR</strong> EMPPROJACT
|
|
|
|
<strong>CREATE ALIAS</strong> EMP_ACT <strong>FOR</strong> EMPPROJACT</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"><caption>Table 1. Columns of the Employee to project
|
|
activity table</caption><thead align="left"><tr><th align="left" valign="bottom" width="29.797979797979796%" id="d0e107">Column name</th>
|
|
<th align="left" valign="bottom" width="70.2020202020202%" id="d0e109">Description</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr><td align="left" valign="top" width="29.797979797979796%" headers="d0e107 ">EMPNO</td>
|
|
<td align="left" valign="top" width="70.2020202020202%" headers="d0e109 ">Employee ID number</td>
|
|
</tr>
|
|
<tr><td align="left" valign="top" width="29.797979797979796%" headers="d0e107 ">PROJNO</td>
|
|
<td align="left" valign="top" width="70.2020202020202%" headers="d0e109 ">PROJNO of the project to which the employee
|
|
is assigned</td>
|
|
</tr>
|
|
<tr><td align="left" valign="top" width="29.797979797979796%" headers="d0e107 ">ACTNO</td>
|
|
<td align="left" valign="top" width="70.2020202020202%" headers="d0e109 ">ID of an activity within a project to which
|
|
an employee is assigned</td>
|
|
</tr>
|
|
<tr><td align="left" valign="top" width="29.797979797979796%" headers="d0e107 ">EMPTIME</td>
|
|
<td align="left" valign="top" width="70.2020202020202%" headers="d0e109 ">A proportion of the employee's full time
|
|
(between 0.00 and 1.00) to be spent on the project from EMSTDATE to EMENDATE</td>
|
|
</tr>
|
|
<tr><td align="left" valign="top" width="29.797979797979796%" headers="d0e107 ">EMSTDATE</td>
|
|
<td align="left" valign="top" width="70.2020202020202%" headers="d0e109 ">Start date of the activity</td>
|
|
</tr>
|
|
<tr><td align="left" valign="top" width="29.797979797979796%" headers="d0e107 ">EMENDATE</td>
|
|
<td align="left" valign="top" width="70.2020202020202%" headers="d0e109 ">Completion date of the activity</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<ul class="ullinks">
|
|
<li class="ulchildlink"><strong><a href="rbafyxmpeact.htm">EMPPROJACT</a></strong><br />
|
|
A complete listing of the data in table EMPPROJACT.</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> |