doc-exports/docs/dws/tool/dws_16_0131.html
Lu, Huayi 27019c2991 DWS TOOL 830.201 version
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com>
Co-authored-by: Lu, Huayi <luhuayi@huawei.com>
Co-committed-by: Lu, Huayi <luhuayi@huawei.com>
2024-05-16 07:35:25 +00:00

476 lines
46 KiB
HTML

<a name="EN-US_TOPIC_0000001819416213"></a><a name="EN-US_TOPIC_0000001819416213"></a>
<h1 class="topictitle1">DEFAULT</h1>
<div id="body8662426"><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p8060118">In MySQL, when using ALTER TABLE to add a column with the not null constraint, if no value is specified, a default value is inserted. However, an error will be reported a value is inserted into a non-empty table in GaussDB(DWS). Therefore, for common data types, <a href="#EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_table14464132632210">Default values (see table 1.)</a> are specified for <strong id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_b45476281239">ALTER TABLE ADD COLUMN</strong> with <strong id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_b96786322231">NOT NULL</strong> constraint.</p>
<p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p4606162211182"><strong id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_b134256414233">Input</strong></p>
<pre class="screen" id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_screen5332422132019">drop table if EXISTS default_test_1;
create table default_test_1
(
c1 tinyint,
c2 smallint,
c3 MEDIUMINT,
c4 int,
c5 bigint
);
insert into default_test_1
values (1, 1, 1, 1, 1);
select *
from default_test_1;
alter table default_test_1 add COLUMN (c1_1 tinyint not null, c2_1 SMALLINT not null, c3_1 MEDIUMINT not null, c4_1 int not null, c5_1 BIGINT not null);
SELECT *
from default_test_1;</pre>
<p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p1128214169209"><strong id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_b54428459832047">Output</strong></p>
<pre class="screen" id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_screen273325211205">DROP TABLE IF EXISTS "public"."default_test_1";
CREATE TABLE "public"."default_test_1" (
"c1" SMALLINT,
"c2" SMALLINT,
"c3" INTEGER,
"c4" INTEGER,
"c5" BIGINT
) WITH (ORIENTATION = ROW, COMPRESSION = NO) NOCOMPRESS DISTRIBUTE BY HASH ("c1");
INSERT INTO
"public"."default_test_1"
VALUES
(1, 1, 1, 1, 1);
SELECT
*
FROM
default_test_1;
ALTER TABLE
"public"."default_test_1"
ADD
COLUMN "c1_1" SMALLINT NOT NULL DEFAULT 0,
ADD
COLUMN "c2_1" SMALLINT NOT NULL DEFAULT 0,
ADD
COLUMN "c3_1" INTEGER NOT NULL DEFAULT 0,
ADD
COLUMN "c4_1" INTEGER NOT NULL DEFAULT 0,
ADD
COLUMN "c5_1" BIGINT NOT NULL DEFAULT 0;
SELECT
*
FROM
default_test_1;</pre>
<div class="tablenoborder"><a name="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_table14464132632210"></a><a name="en-us_topic_0000001658024942_en-us_topic_0000001447500169_table14464132632210"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_table14464132632210" frame="border" border="1" rules="all"><caption><b>Table 1 </b></caption><thead align="left"><tr id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_row16464426202214"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.6.2.5.1.1"><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p13465182612221">Data Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.6.2.5.1.2"><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p571615210232">MYSQL</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.6.2.5.1.3"><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p204653265224">GaussDB(DWS) Data Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.6.2.5.1.4"><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p34651526192219">Conversion Result</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_row2465112610221"><td class="cellrowborder" rowspan="5" valign="top" width="25%" headers="mcps1.3.6.2.5.1.1 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p58091641172716">Signed Integer</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.6.2.5.1.2 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p147161221172312">TINYINT</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.6.2.5.1.3 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p93721228254">SMALLINT</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.6.2.5.1.4 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p8386114262518">0</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_row246592682213"><td class="cellrowborder" valign="top" headers="mcps1.3.6.2.5.1.1 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p77161421172318">SMALLINT</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.6.2.5.1.2 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p43725228257">SMALLINT</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.6.2.5.1.3 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p18386542202516">0</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_row174651626162219"><td class="cellrowborder" valign="top" headers="mcps1.3.6.2.5.1.1 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p17169211238">MEDIUMINT</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.6.2.5.1.2 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p8372192202518">INT/INTEGER</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.6.2.5.1.3 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p103861425252">0</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_row3465152682219"><td class="cellrowborder" valign="top" headers="mcps1.3.6.2.5.1.1 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p371642182310">INT/INTEGER</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.6.2.5.1.2 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p13723221254">INT/INTEGER</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.6.2.5.1.3 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p3386242122516">0</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_row44651526132215"><td class="cellrowborder" valign="top" headers="mcps1.3.6.2.5.1.1 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p1471618211232">BIGINT</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.6.2.5.1.2 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p10373202222512">BIGINT</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.6.2.5.1.3 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p638644218251">0</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_row154663264228"><td class="cellrowborder" rowspan="5" valign="top" width="25%" headers="mcps1.3.6.2.5.1.1 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p20942155318279">Unsigned Integer</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.6.2.5.1.2 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p3716152119233">TINYINT UNSIGNED</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.6.2.5.1.3 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p337319228251">TINYINT</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.6.2.5.1.4 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p03861042202514">0</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_row1846622610227"><td class="cellrowborder" valign="top" headers="mcps1.3.6.2.5.1.1 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p12716152112236">SMALLINT UNSIGNED</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.6.2.5.1.2 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p837362232511">INT</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.6.2.5.1.3 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p1538616425258">0</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_row1466526142218"><td class="cellrowborder" valign="top" headers="mcps1.3.6.2.5.1.1 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p1071682115238">MEDIUMINT UNSIGNED</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.6.2.5.1.2 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p9373192212518">INT</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.6.2.5.1.3 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p14386164214259">0</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_row5466112662211"><td class="cellrowborder" valign="top" headers="mcps1.3.6.2.5.1.1 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p1371632110236">INT UNSIGNED</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.6.2.5.1.2 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p3373132210256">BIGINT</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.6.2.5.1.3 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p173861042102510">0</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_row1446615263220"><td class="cellrowborder" valign="top" headers="mcps1.3.6.2.5.1.1 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p471719210232">BIGINT UNSIGNED</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.6.2.5.1.2 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p237322222511">NUMERIC</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.6.2.5.1.3 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p1838674215254">0</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_row946792614226"><td class="cellrowborder" rowspan="9" valign="top" width="25%" headers="mcps1.3.6.2.5.1.1 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p1891818492817">Float</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.6.2.5.1.2 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p117171221152314">FLOAT</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.6.2.5.1.3 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p53731322122513">REAL</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.6.2.5.1.4 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p838634222514">0</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_row134679268222"><td class="cellrowborder" valign="top" headers="mcps1.3.6.2.5.1.1 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p1671782110236">FLOAT UNSIGNED</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.6.2.5.1.2 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p937382214251">REAL</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.6.2.5.1.3 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p6386104210258">0</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_row19467202610225"><td class="cellrowborder" valign="top" headers="mcps1.3.6.2.5.1.1 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p11717162142313">DOUBLE</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.6.2.5.1.2 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p103731722182512">DOUBLE PRECISION</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.6.2.5.1.3 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p438784282520">0</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_row1246732610226"><td class="cellrowborder" valign="top" headers="mcps1.3.6.2.5.1.1 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p1471742110239">DOUBLE UNSIGNED</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.6.2.5.1.2 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p1837322215254">DOUBLE PRECISION</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.6.2.5.1.3 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p9388114217255">0</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_row1546714266221"><td class="cellrowborder" valign="top" headers="mcps1.3.6.2.5.1.1 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p271782102316">DOUBLE PRECISION (DOUBLE)</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.6.2.5.1.2 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p8373622192515">DOUBLE PRECISION</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.6.2.5.1.3 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p173881542122510">0</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_row17467142672214"><td class="cellrowborder" valign="top" headers="mcps1.3.6.2.5.1.1 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p27171214236">DOUBLE PRECISION [UNSIGNED] (DOUBLE)</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.6.2.5.1.2 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p103731822152512">DOUBLE PRECISION</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.6.2.5.1.3 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p5388742162512">0</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_row5468926142214"><td class="cellrowborder" valign="top" headers="mcps1.3.6.2.5.1.1 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p10717182110233">REAL (Processed as double by default,</p>
<p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p771720219239">when set to <strong id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_b1380215411339">REAL_AS_FLOAT</strong>, it is processed as float.)</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.6.2.5.1.2 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p163731422172517">REAL/DOUBLE PRECISION</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.6.2.5.1.3 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p12388174217253">0</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_row9468112652210"><td class="cellrowborder" valign="top" headers="mcps1.3.6.2.5.1.1 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p17171821152317">REAL [UNSIGNED] (Processed as double by default,</p>
<p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p127171821142316">when set to <strong id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_b196221259163316">REAL_AS_FLOAT</strong>, it is processed as float.)</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.6.2.5.1.2 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p1437392262518">REAL/DOUBLE PRECISION</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.6.2.5.1.3 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p133881442142510">0</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_row946814268226"><td class="cellrowborder" valign="top" headers="mcps1.3.6.2.5.1.1 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p07172217231">NUMERIC/DECIMAL</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.6.2.5.1.2 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p13373162212518">NUMERIC/DECIMAL</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.6.2.5.1.3 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p8388154292515">0</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_row124681126192213"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.6.2.5.1.1 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p14685266225">Boolean</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.6.2.5.1.2 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p8717521172311">BOOLEAN/BOOL</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.6.2.5.1.3 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p4374142242515">BOOLEAN</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.6.2.5.1.4 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p1938854212519">0</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_row74691226172216"><td class="cellrowborder" rowspan="3" valign="top" width="25%" headers="mcps1.3.6.2.5.1.1 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p1224173172817">Character Type</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.6.2.5.1.2 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p2071792112231">CHAR/CHARACTER</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.6.2.5.1.3 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p3374132214253">CHAR/CHARACTER * 4</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.6.2.5.1.4 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p12388442162513">An empty string will be returned.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_row1846913266220"><td class="cellrowborder" valign="top" headers="mcps1.3.6.2.5.1.1 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p1471710213234">NCHAR</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.6.2.5.1.2 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p15374622142513">CHAR/CHARACTER * 4</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.6.2.5.1.3 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p6388154272518">An empty string will be returned.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_row2046902614224"><td class="cellrowborder" valign="top" headers="mcps1.3.6.2.5.1.1 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p187172021162311">VARCHAR</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.6.2.5.1.2 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p11374182222512">VARCHAR * 4</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.6.2.5.1.3 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p1338818424256">An empty string will be returned.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_row8469626162217"><td class="cellrowborder" rowspan="4" valign="top" width="25%" headers="mcps1.3.6.2.5.1.1 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p9173134510282">Text</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.6.2.5.1.2 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p1571762115234">TINYTEXT</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.6.2.5.1.3 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p1437452252514">TEXT</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.6.2.5.1.4 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p10388144222517">An empty string will be returned.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_row24691126102215"><td class="cellrowborder" valign="top" headers="mcps1.3.6.2.5.1.1 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p5717421102313">TEXT</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.6.2.5.1.2 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p237442292510">TEXT</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.6.2.5.1.3 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p938854215259">An empty string will be returned.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_row1646917260228"><td class="cellrowborder" valign="top" headers="mcps1.3.6.2.5.1.1 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p371717211236">MEDIUMTEXT</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.6.2.5.1.2 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p173747226259">TEXT</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.6.2.5.1.3 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p11388134214254">An empty string will be returned.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_row247072613226"><td class="cellrowborder" valign="top" headers="mcps1.3.6.2.5.1.1 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p37172021172319">LONGTEXT</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.6.2.5.1.2 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p1737412211254">TEXT</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.6.2.5.1.3 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p9388742142517">An empty string will be returned.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_row1347052615229"><td class="cellrowborder" rowspan="7" valign="top" width="25%" headers="mcps1.3.6.2.5.1.1 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p1715117565284">Binary</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.6.2.5.1.2 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p0718142119237">BINARY</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.6.2.5.1.3 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p16374202219256">BYTEA</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.6.2.5.1.4 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p19388742182512">An empty string will be returned.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_row1247022619226"><td class="cellrowborder" valign="top" headers="mcps1.3.6.2.5.1.1 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p371816216235">VARBINARY</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.6.2.5.1.2 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p103741422182516">BYTEA</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.6.2.5.1.3 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p1389134211257">An empty string will be returned.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_row64701626122218"><td class="cellrowborder" valign="top" headers="mcps1.3.6.2.5.1.1 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p471811210233">TINYBLOB</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.6.2.5.1.2 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p137511225257">BYTEA (column storage)/BLOB (non-column storage)</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.6.2.5.1.3 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p838994210254">An empty string will be returned.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_row134701226162215"><td class="cellrowborder" valign="top" headers="mcps1.3.6.2.5.1.1 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p671852113237">BLOB</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.6.2.5.1.2 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p43756223254">BYTEA (column storage)/BLOB (non-column storage)</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.6.2.5.1.3 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p1738913421255">An empty string will be returned.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_row447062613226"><td class="cellrowborder" valign="top" headers="mcps1.3.6.2.5.1.1 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p571812132314">MEDIUMBLOB</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.6.2.5.1.2 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p1737520229250">BYTEA (column storage)/BLOB (non-column storage)</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.6.2.5.1.3 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p113891542152514">An empty string will be returned.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_row154711326122211"><td class="cellrowborder" valign="top" headers="mcps1.3.6.2.5.1.1 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p9718172152316">LONGBLOB</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.6.2.5.1.2 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p43759224256">BYTEA (column storage)/BLOB (non-column storage)</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.6.2.5.1.3 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p43891642102515">An empty string will be returned.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_row147162613227"><td class="cellrowborder" valign="top" headers="mcps1.3.6.2.5.1.1 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p17718521122317">CHAR BYTE (BINARY)</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.6.2.5.1.2 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p153757229254">BYTEA</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.6.2.5.1.3 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p133891642172520">An empty string will be returned.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_row13471926102210"><td class="cellrowborder" rowspan="6" valign="top" width="25%" headers="mcps1.3.6.2.5.1.1 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p7589171214291">Date</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.6.2.5.1.2 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p671811210230">DATE</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.6.2.5.1.3 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p193757221257">DATE</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.6.2.5.1.4 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p153891426255">1970-01-01</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_row64719266226"><td class="cellrowborder" valign="top" headers="mcps1.3.6.2.5.1.1 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p1971802111238">TIME</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.6.2.5.1.2 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p13375222102519">TIME(P) WITHOUT TIME ZONE</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.6.2.5.1.3 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p6389144262515">00:00:00</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_row15473132614222"><td class="cellrowborder" valign="top" headers="mcps1.3.6.2.5.1.1 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p57188210231">DATETIME</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.6.2.5.1.2 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p1237532210258">TIMESTAMP WITHOUT TIME ZONE</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.6.2.5.1.3 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p15389842132518">1970-01-01 00:00:00</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_row1347392618228"><td class="cellrowborder" valign="top" headers="mcps1.3.6.2.5.1.1 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p6718112182314">TIMESTAMP</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.6.2.5.1.2 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p1037542212516">TIMESTAMP(P) WITH TIME ZONE</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.6.2.5.1.3 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p738913421253">1970-01-01 00:00:00</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_row16473926152217"><td class="cellrowborder" valign="top" headers="mcps1.3.6.2.5.1.1 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p187181921102313">datetime/datetime(0)</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.6.2.5.1.2 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p143751822132516">datetime-&gt;timestamp with out time zone</p>
<p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p7375172215256">datetime(0)-&gt;timestamp(0) with out time zone</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.6.2.5.1.3 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p16389144220256">1970-01-01 00:00:00.xx (The number of x depends on the precision.)</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_row9474162682214"><td class="cellrowborder" valign="top" headers="mcps1.3.6.2.5.1.1 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p27181521102310">YEAR</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.6.2.5.1.2 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p13375132217256">SMALLINT</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.6.2.5.1.3 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p10389042182515">0000</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_row13474162692216"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.6.2.5.1.1 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p847420267223">Bit String</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.6.2.5.1.2 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p11718192132315">BIT</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.6.2.5.1.3 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p20375922152517">BIT</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.6.2.5.1.4 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p438944214251">DEFAULT 0:: BIT(x)</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_row1347412267220"><td class="cellrowborder" rowspan="2" valign="top" width="25%" headers="mcps1.3.6.2.5.1.1 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p12291337172913">Set</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.6.2.5.1.2 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p19718621152317">ENUM</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.6.2.5.1.3 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p9375122102519">CHARACTER VARYING()</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.6.2.5.1.4 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p5389144292517">Return the first element by default.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_row1847462612216"><td class="cellrowborder" valign="top" headers="mcps1.3.6.2.5.1.1 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p1071812110239">SET</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.6.2.5.1.2 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p23751022142517">CHARACTER VARYING()</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.6.2.5.1.3 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p8389154282518">An empty string will be returned.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_row34749264228"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.6.2.5.1.1 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p247417261229">Auto Increment</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.6.2.5.1.2 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p8718192182316">SERIAL ( BIGINT UNSIGNED NOT NULL AUTO_INCREMENT UNIQUE)</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.6.2.5.1.3 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p0375182212511">CREATE SEQUENCE serial_name INCREMENT 2 START 1</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.6.2.5.1.4 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p5389642152511">No processing is required.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_row2474926172216"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.6.2.5.1.1 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p144742026132211">JSON</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.6.2.5.1.2 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p117197214233">JSON</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.6.2.5.1.3 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p737562272516">jsonb</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.6.2.5.1.4 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p738944282513">No processing is required.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_row11474172622214"><td class="cellrowborder" rowspan="8" valign="top" width="25%" headers="mcps1.3.6.2.5.1.1 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p37901656303">Spatial</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.6.2.5.1.2 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p117191921122314">point</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.6.2.5.1.3 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p8375112282519">point</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.6.2.5.1.4 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p9389104282519">No processing is required.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_row164755268228"><td class="cellrowborder" valign="top" headers="mcps1.3.6.2.5.1.1 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p1671922112233">polygon</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.6.2.5.1.2 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p1337602215258">polygon</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.6.2.5.1.3 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p1547519263220">No processing is required.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_row54751826132219"><td class="cellrowborder" valign="top" headers="mcps1.3.6.2.5.1.1 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p127191521122318">geometry</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.6.2.5.1.2 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p33762220253">Not supported. The input is returned as it is.</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.6.2.5.1.3 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p134751526162212">No processing is required.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_row134753269221"><td class="cellrowborder" valign="top" headers="mcps1.3.6.2.5.1.1 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p2071962122318">linestring</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.6.2.5.1.2 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p737612252512">polygon</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.6.2.5.1.3 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p5475826202212">No processing is required.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_row947512682211"><td class="cellrowborder" valign="top" headers="mcps1.3.6.2.5.1.1 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p17719132113232">geometrycollection</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.6.2.5.1.2 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p6376422182514">Not supported. The input is returned as it is.</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.6.2.5.1.3 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p547512616222">No processing is required.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_row11475162612221"><td class="cellrowborder" valign="top" headers="mcps1.3.6.2.5.1.1 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p12719121152319">multipoint</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.6.2.5.1.2 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p3376192232520">box</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.6.2.5.1.3 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p15475162612212">No processing is required.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_row14475142692210"><td class="cellrowborder" valign="top" headers="mcps1.3.6.2.5.1.1 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p67191421162320">multilinestring</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.6.2.5.1.2 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p143761622182510">box</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.6.2.5.1.3 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p4476102612214">No processing is required.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_row14560138122316"><td class="cellrowborder" valign="top" headers="mcps1.3.6.2.5.1.1 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p15719321132318">multipolygon</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.6.2.5.1.2 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p1737612214252">polygon</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.6.2.5.1.3 "><p id="EN-US_TOPIC_0000001819416213__en-us_topic_0000001658024942_en-us_topic_0000001447500169_p175611888236">No processing is required.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="dws_16_0119.html">Table (Optional Parameters and Operations)</a></div>
</div>
</div>