51 lines
3.8 KiB
HTML
51 lines
3.8 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="concept" />
|
||
|
<meta name="DC.Title" content="Parent key enforcement" />
|
||
|
<meta name="abstract" content="The rules that you specify for the referential constraint determine how the database processes the delete and update operations on the parent key. The system enforces the unique attribute of a parent key on all parent file I/O." />
|
||
|
<meta name="description" content="The rules that you specify for the referential constraint determine how the database processes the delete and update operations on the parent key. The system enforces the unique attribute of a parent key on all parent file I/O." />
|
||
|
<meta name="DC.Relation" scheme="URI" content="rbaforzahfrcp.htm" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="rbaforzahfrcs.htm" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="rbaforzahfrct.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="rbaforzahfrcr" />
|
||
|
<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>Parent key enforcement</title>
|
||
|
</head>
|
||
|
<body id="rbaforzahfrcr"><a name="rbaforzahfrcr"><!-- --></a>
|
||
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
||
|
<h1 class="topictitle1">Parent key enforcement</h1>
|
||
|
<div><p>The rules that you specify for the referential constraint determine
|
||
|
how the database processes the delete and update operations on
|
||
|
the parent key. The system enforces the unique attribute of a parent key on
|
||
|
all parent file I/O.</p>
|
||
|
</div>
|
||
|
<div>
|
||
|
<ul class="ullinks">
|
||
|
<li class="ulchildlink"><strong><a href="rbaforzahfrcs.htm">Enforcement of delete rules</a></strong><br />
|
||
|
When you delete a record from a parent file, the system checks the dependent file for any dependent records (matching non-null foreign key values). If the system finds any dependent records, the delete rule determines the action that is taken.</li>
|
||
|
<li class="ulchildlink"><strong><a href="rbaforzahfrct.htm">Enforcement of update rules</a></strong><br />
|
||
|
When the system updates a parent key in a parent file, it checks for any dependent records (matching non-null foreign values) in the dependent file. If it finds any dependent records, the update rule for the constraint relationship determines the action that it takes.</li>
|
||
|
</ul>
|
||
|
|
||
|
<div class="familylinks">
|
||
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="rbaforzahfrcp.htm" title="The input/output (I/O) access for files that are associated with established and enabled constraints varies. It depends on whether the file contains the parent key or foreign key in the constraint relationship. The system enforces referential integrity enforcement on all parent and dependent file I/O requests.">Referential integrity enforcement</a></div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</body>
|
||
|
</html>
|