ibm-information-center/dist/eclipse/plugins/i5OS.ic.dbp_5.4.0.1/rbaforzahfrc0.htm

80 lines
4.9 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="task" />
<meta name="DC.Title" content="Remove referential constraints" />
<meta name="abstract" content="You can remove referential constraints in various ways. The full impact of the removal depends on the constraint you are removing and the certain conditions that surround the constraint." />
<meta name="description" content="You can remove referential constraints in various ways. The full impact of the removal depends on the constraint you are removing and the certain conditions that surround the constraint." />
<meta name="DC.Relation" scheme="URI" content="rbaforzahfrca.htm" />
<meta name="DC.Relation" scheme="URI" content="rbaforzahfrc1.htm" />
<meta name="DC.Relation" scheme="URI" content="rbaforzahfrc2.htm" />
<meta name="DC.Relation" scheme="URI" content="../cl/rmvpfcst.htm" />
<meta name="DC.Relation" scheme="URI" content="../rzatc/rzatcgetstartinav.htm" />
<meta name="DC.Relation" scheme="URI" content="../sqlp/rbafykickoff.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="rbaforzahfrc0" />
<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>Remove referential constraints</title>
</head>
<body id="rbaforzahfrc0"><a name="rbaforzahfrc0"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Remove referential constraints</h1>
<div><p>You can remove referential constraints in various ways. The full
impact of the removal depends on the constraint you are removing and the certain
conditions that surround the constraint.</p>
<div class="section"> <p>To remove a referential constraint, follow these steps:</p>
</div>
<ol><li class="stepexpand"><span>Run the Remove Physical File Constraint (RMVPFCST) command.</span></li>
<li class="stepexpand"><span>Specify the constraint or constraints you want to remove using
the CST and TYPE parameters.</span> <ul><li>Use the CST parameter to specify all constraints or a specific constraint
name.</li>
<li>Use the TYPE parameter to specify a particular type of constraint.</li>
</ul>
</li>
</ol>
<div class="section"> <p>You can also remove a referential constraint using iSeries™ Navigator. </p>
<p>When
you remove a referential constraint, the system removes the associated foreign
keys and access paths from the file. The system does not remove the foreign
key access path if any logical file or other constraint on the system uses
it.</p>
<p>If you remove a referential, primary key, or unique constraint,
and the associated access path is shared by a logical file, the ownership
of the shared path transfers to the logical file.</p>
</div>
</div>
<div>
<ul class="ullinks">
<li class="ulchildlink"><strong><a href="rbaforzahfrc1.htm">Details: Remove a constraint with the CST parameter</a></strong><br />
This topic discusses the constraints that you can remove with the CST parameter.</li>
<li class="ulchildlink"><strong><a href="rbaforzahfrc2.htm">Details: Remove a constraint with the TYPE parameter</a></strong><br />
This topic discusses the constraints that you can remove with the TYPE parameter.</li>
</ul>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rbaforzahfrca.htm" title="These topics discuss how to use referential constraints in your database to ensure that it contains only valid data.">Ensure data integrity with referential constraints</a></div>
</div>
<div class="relconcepts"><strong>Related concepts</strong><br />
<div><a href="../rzatc/rzatcgetstartinav.htm">Get started with iSeries Navigator</a></div>
<div><a href="../sqlp/rbafykickoff.htm">SQL programming</a></div>
</div>
<div class="relref"><strong>Related reference</strong><br />
<div><a href="../cl/rmvpfcst.htm">Remove Physical File Constraint (RMVPFCST) command</a></div>
</div>
</div>
</body>
</html>