ibm-information-center/dist/eclipse/plugins/i5OS.ic.db2_5.4.0.1/rbafzmstsyn310.htm

97 lines
2.6 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 xmlns="http://www.w3.org/1999/xhtml" lang="en-US" xml:lang="en-us"><head>
<!-- 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. -->
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="dc.date" scheme="iso8601" content="2005-09-19" />
<meta name="copyright" content="(C) Copyright IBM Corporation 1998, 2006" />
<meta name="security" content="public" />
<meta name="dc.language" scheme="rfc1766" content="en-us" />
<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))' />
<link rel="stylesheet" type="text/css" href="ibmidwb.css" />
<link rel="stylesheet" type="text/css" href="ic.css" /></head>
<body>
<pre>
partitioning-clause:
1 PARTITION BY
2! RANGE
2.1 <span class="italic">range-partition-spec</span>
2 HASH <span class="italic">hash-partition-spec</span>
range-partition-spec:
1 (
2+ ,
2 <span class="italic">column-name</span>
2.1! NULLS LAST
2.1?
2.1 NULLS FIRST
2.1.1 ) (
2.1.1.1+ ,
2.1.1.1.0? PARTITION <span class="italic">partition-name</span>
2.1.1.1.1 <span class="italic">boundary-spec</span>
2.1.1.1 <span class="italic">boundary-spec</span> EVERY ( <span class="italic">integer-constant</span>
2.1.1.1.1?
2.1.1.1.1 DAY
2.1.1.1.1 DAYS
2.1.1.1.1 MONTH
2.1.1.1.1 MONTHS
2.1.1.1.1 YEAR
2.1.1.1.1 YEARS
2.1.1.1.2 )
2.1.1.1.2.1 )
hash-partition-spec:
1 (
2+ ,
2 <span class="italic">column-name</span>
3 ) INTO <span class="italic">integer</span> PARTITIONS
boundary-spec:
1 <span class="italic">starting-clause</span> <span class="italic">ending-clause</span>
starting-clause:
1 STARTING
2! FROM
3 (
3.1+ ,
3.1.0 <span class="italic">constant</span>
3.1.0 MINVALUE
3.1.0 MAXVALUE
3.2 )
3 <span class="italic">constant</span>
3 MINVALUE
3 MAXVALUE
4! INCLUSIVE
4?
4 EXCLUSIVE
ending-clause:
1 ENDING
2! AT
3 (
3.1+ ,
3.1.0 <span class="italic">constant</span>
3.1.0 MINVALUE
3.1.0 MAXVALUE
3.2 )
3 <span class="italic">constant</span>
3 MINVALUE
3 MAXVALUE
4! INCLUSIVE
4?
4 EXCLUSIVE
</pre>
</body></html>