67 lines
4.1 KiB
HTML
67 lines
4.1 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="Modification of existing tables" />
|
|
<meta name="abstract" content="You can change existing nonpartitioned tables to partitioned tables, change the attributes of existing partitioned tables, or change partitioned table to nonpartitioned tables." />
|
|
<meta name="description" content="You can change existing nonpartitioned tables to partitioned tables, change the attributes of existing partitioned tables, or change partitioned table to nonpartitioned tables." />
|
|
<meta name="DC.subject" content="Partitioned tables, altering" />
|
|
<meta name="keywords" content="Partitioned tables, altering" />
|
|
<meta name="DC.Relation" scheme="URI" content="partitionedtables.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="addpart.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="existingpt.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="unpartition.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="../db2/rbafzmstatabl.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="alterpt" />
|
|
<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>Modification of existing tables</title>
|
|
</head>
|
|
<body id="alterpt"><a name="alterpt"><!-- --></a>
|
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
|
<h1 class="topictitle1">Modification of existing tables</h1>
|
|
<div><p>You can change existing nonpartitioned tables to partitioned tables,
|
|
change the attributes of existing partitioned tables, or change partitioned
|
|
table to nonpartitioned tables.</p>
|
|
<p>Use the <samp class="codeph">ALTER TABLE</samp> statement to make changes to partitioned
|
|
and nonpartitioned tables.</p>
|
|
<p>More details about the ALTER TABLE statement and its clauses
|
|
are available in the SQL Reference topic.</p>
|
|
</div>
|
|
<div>
|
|
<ul class="ullinks">
|
|
<li class="ulchildlink"><strong><a href="addpart.htm">From a nonpartitioned table to a partitioned table</a></strong><br />
|
|
Use the <samp class="codeph">ADD <em>partitioning-clause</em></samp> of
|
|
the ALTER TABLE statement to change a nonpartitioned table into a partitioned
|
|
table. Altering an existing table to use partitions is similar to creating
|
|
a new partitioned table.</li>
|
|
<li class="ulchildlink"><strong><a href="existingpt.htm">Modification of existing partitioned tables</a></strong><br />
|
|
You can make several changes to your partitioned table by using
|
|
the clauses of the <samp class="codeph">ALTER TABLE</samp> statement.</li>
|
|
<li class="ulchildlink"><strong><a href="unpartition.htm">From a partitioned table to a nonpartitioned table</a></strong><br />
|
|
Use the DROP PARTITIONING clause to change a partitioned table to a nonpartitioned table.</li>
|
|
</ul>
|
|
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="partitionedtables.htm" title="DB2 UDB for iSeries supports partitioned tables using SQL.">Partitioned tables</a></div>
|
|
</div>
|
|
<div class="relref"><strong>Related reference</strong><br />
|
|
<div><a href="../db2/rbafzmstatabl.htm">SQL Reference</a></div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html> |