Files
doc-exports/docs/dli/sqlreference/dli_08_15095.html
Su, Xiaomeng be9eabe464 dli_sqlreference_20250305
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com>
Co-authored-by: Su, Xiaomeng <suxiaomeng1@huawei.com>
Co-committed-by: Su, Xiaomeng <suxiaomeng1@huawei.com>
2025-03-25 09:06:21 +00:00

37 lines
2.5 KiB
HTML

<a name="dli_08_15095"></a><a name="dli_08_15095"></a>
<h1 class="topictitle1">Value Construction Functions</h1>
<div id="body0000001310015825"><div class="section" id="dli_08_15095__section13821121015714"><h4 class="sectiontitle">Description</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="dli_08_15095__table1296814264578" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Value construction functions</caption><thead align="left"><tr id="dli_08_15095__row1496832625718"><th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.1.2.2.3.1.1"><p id="dli_08_15095__p10968182675710">Value Construction Function</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.1.2.2.3.1.2"><p id="dli_08_15095__p1496820263576">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="dli_08_15095__row14968132619572"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.1.2.2.3.1.1 "><p id="dli_08_15095__p16414192612">-- implicit constructor with parenthesis (value1 [, value2]*)</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.1.2.2.3.1.2 "><p id="dli_08_15095__p173124258611">Returns a row created from a list of values (value1, value2, ...). The implicit row constructor supports any expression as a field, but requires at least two fields. The explicit row constructor can handle any number of fields, but currently does not support all types of field expressions well.</p>
</td>
</tr>
<tr id="dli_08_15095__row4968152685713"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.1.2.2.3.1.1 "><p id="dli_08_15095__p341893218613">ARRAY '[' value1 [, value2 ]* ']'</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.1.2.2.3.1.2 "><p id="dli_08_15095__p23406391263">Returns an array created from a list of values (value1, value2, ...).</p>
</td>
</tr>
<tr id="dli_08_15095__row59691926135713"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.1.2.2.3.1.1 "><p id="dli_08_15095__p9969226185715">MAP '[' value1, value2 [, value3, value4 ]* ']'</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.1.2.2.3.1.2 "><p id="dli_08_15095__p1239711541964">Returns a map created from a list of key-value pairs ((value1, value2), (value3, value4), ...).</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="dli_08_15085.html">Built-In Functions</a></div>
</div>
</div>