doc-exports/docs/dws/tool/dws_07_6814.html
Lu, Huayi 346ac31da9 DWS TG 8.1.3.200 VERSION
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com>
Reviewed-by: Jiang, Beibei <beibei.jiang@t-systems.com>
Co-authored-by: Lu, Huayi <luhuayi@huawei.com>
Co-committed-by: Lu, Huayi <luhuayi@huawei.com>
2023-08-28 09:20:17 +00:00

44 lines
2.2 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<a name="EN-US_TOPIC_0000001234200585"></a><a name="EN-US_TOPIC_0000001234200585"></a>
<h1 class="topictitle1">COMPRESS Phrase</h1>
<div id="body8662426"><p id="EN-US_TOPIC_0000001234200585__en-us_topic_0238518377_en-us_topic_0238226699_en-us_topic_0221101040_en-us_topic_0202727428_p11961167132614"><strong id="EN-US_TOPIC_0000001234200585__en-us_topic_0237712504_b4961674261">Input COMPRESS Phrase</strong></p>
<pre class="screen" id="EN-US_TOPIC_0000001234200585__en-us_topic_0238518377_en-us_topic_0238226699_en-us_topic_0221101040_en-us_topic_0202727428_screen396111722611">CREATE TABLE test_tab (
id NUMBER(10) NOT NULL,
description VARCHAR2(100) NOT NULL,
created_date DATE NOT NULL,
created_by VARCHAR2(50) NOT NULL,
updated_date DATE,
updated_by VARCHAR2(50)
)
NOCOMPRESS
PARTITION BY RANGE (created_date) (
PARTITION test_tab_q1 VALUES LESS THAN (TO_DATE('01/04/2003', 'DD/MM/YYYY')) COMPRESS,
PARTITION test_tab_q2 VALUES LESS THAN (MAXVALUE)
);</pre>
<p id="EN-US_TOPIC_0000001234200585__en-us_topic_0238518377_en-us_topic_0238226699_en-us_topic_0221101040_en-us_topic_0202727428_p15961147172611"><strong id="EN-US_TOPIC_0000001234200585__en-us_topic_0237712504_b696267162618">Output</strong></p>
<pre class="screen" id="EN-US_TOPIC_0000001234200585__en-us_topic_0238518377_en-us_topic_0238226699_en-us_topic_0221101040_en-us_topic_0202727428_screen179621571264">CREATE
TABLE
test_tab (
id NUMBER (10) NOT NULL
,description VARCHAR2 (100) NOT NULL
,created_date DATE NOT NULL
,created_by VARCHAR2 (50) NOT NULL
,updated_date DATE
,updated_by VARCHAR2 (50)
) /*NOCOMPRESS*/
PARTITION BY RANGE (created_date) (
PARTITION test_tab_q1
VALUES LESS THAN (
TO_DATE( '01/04/2003' ,'DD/MM/YYYY' )
) /*COMPRESS*/
,PARTITION test_tab_q2
VALUES LESS THAN (MAXVALUE)
) ;</pre>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="dws_mt_0104.html">Oracle Syntax Migration</a></div>
</div>
</div>