doc-exports/docs/dli/sqlreference/dli_08_0061.html
Su, Xiaomeng 04d4597cf3 dli_sqlreference_0511_version
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>
2023-11-02 14:34:08 +00:00

145 lines
19 KiB
HTML

<a name="dli_08_0061"></a><a name="dli_08_0061"></a>
<h1 class="topictitle1">Relational Operators</h1>
<div id="body8662426"><p id="dli_08_0061__en-us_topic_0093946932_a52a040367b4d4edc807ee2655a6fb5f8">All data types can be compared by using relational operators and the result is returned as a BOOLEAN value.</p>
<p id="dli_08_0061__en-us_topic_0093946932_a6232d74ab95c4f58a898fec6635b965a">Relationship operators are binary operators. Two compared data types must be of the same type or they must support implicit conversion.</p>
<p id="dli_08_0061__en-us_topic_0093946932_a79d9a250946244f686cad630cf654d3a"><a href="#dli_08_0061__en-us_topic_0093946932_t34b3b699258a401085f3c3b3ad1a3717">Table 1</a> lists the relational operators provided by DLI.</p>
<div class="tablenoborder"><a name="dli_08_0061__en-us_topic_0093946932_t34b3b699258a401085f3c3b3ad1a3717"></a><a name="en-us_topic_0093946932_t34b3b699258a401085f3c3b3ad1a3717"></a><table cellpadding="4" cellspacing="0" summary="" id="dli_08_0061__en-us_topic_0093946932_t34b3b699258a401085f3c3b3ad1a3717" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Relational operators</caption><thead align="left"><tr id="dli_08_0061__en-us_topic_0093946932_rf166b7e868c643c888dee5fee14f3bd0"><th align="left" class="cellrowborder" valign="top" width="18.02%" id="mcps1.3.4.2.4.1.1"><p id="dli_08_0061__en-us_topic_0093946932_a1c0c0ccfba304518a57ec7a52d7d413e"><strong id="dli_08_0061__en-us_topic_0093946932_en-us_topic_0053447305_en-us_topic_0039551486_b2066172017428">Operator</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="17.54%" id="mcps1.3.4.2.4.1.2"><p id="dli_08_0061__en-us_topic_0093946932_a3fffe9b35e07446ea416781444142402"><strong id="dli_08_0061__en-us_topic_0093946932_en-us_topic_0053447305_en-us_topic_0039551486_b3000894917428">Result Type</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="64.44%" id="mcps1.3.4.2.4.1.3"><p id="dli_08_0061__en-us_topic_0093946932_a0a483d28592c45c4ad3be926d136382e"><strong id="dli_08_0061__en-us_topic_0093946932_en-us_topic_0053447305_en-us_topic_0039551486_b6614311317428">Description</strong></p>
</th>
</tr>
</thead>
<tbody><tr id="dli_08_0061__en-us_topic_0093946932_ra7de579885944e2eb95a2a1aafb75eea"><td class="cellrowborder" valign="top" width="18.02%" headers="mcps1.3.4.2.4.1.1 "><p id="dli_08_0061__en-us_topic_0093946932_acad9abaff8774c1e8884cbd526055359">A = B</p>
</td>
<td class="cellrowborder" valign="top" width="17.54%" headers="mcps1.3.4.2.4.1.2 "><p id="dli_08_0061__en-us_topic_0093946932_a202c04e0b2f5440ca6398303f4ff40d6">BOOLEAN</p>
</td>
<td class="cellrowborder" valign="top" width="64.44%" headers="mcps1.3.4.2.4.1.3 "><p id="dli_08_0061__en-us_topic_0093946932_af21f208be5ca41568980a315e32034d9">If A is equal to B, then <strong id="dli_08_0061__en-us_topic_0093946932_en-us_topic_0053447305_en-us_topic_0039551486_b337937512348">TRUE</strong> is returned. Otherwise, <strong id="dli_08_0061__en-us_topic_0093946932_b518091732165021">FALSE</strong> is returned. This operator is used for value assignment.</p>
</td>
</tr>
<tr id="dli_08_0061__en-us_topic_0093946932_r80c3c9a051e64f2a86c2d85a9e20c2c9"><td class="cellrowborder" valign="top" width="18.02%" headers="mcps1.3.4.2.4.1.1 "><p id="dli_08_0061__en-us_topic_0093946932_aed4ae8081e8b40599fd2bc21bba14fc9">A == B</p>
</td>
<td class="cellrowborder" valign="top" width="17.54%" headers="mcps1.3.4.2.4.1.2 "><p id="dli_08_0061__en-us_topic_0093946932_a6b8782ff06474fca87cb7e10e6334e8a">BOOLEAN</p>
</td>
<td class="cellrowborder" valign="top" width="64.44%" headers="mcps1.3.4.2.4.1.3 "><p id="dli_08_0061__en-us_topic_0093946932_a6fca0cd918df4c0f85b8dde7d5f4ccae">If A is equal to B, then <strong id="dli_08_0061__en-us_topic_0093946932_en-us_topic_0053447305_en-us_topic_0039551486_b3806512912348">TRUE</strong> is returned. Otherwise, <strong id="dli_08_0061__en-us_topic_0093946932_b93836046165033">FALSE</strong> is returned. This operator cannot be used for value assignment.</p>
</td>
</tr>
<tr id="dli_08_0061__en-us_topic_0093946932_rf42ba612c0ea482691fd9df955c04d97"><td class="cellrowborder" valign="top" width="18.02%" headers="mcps1.3.4.2.4.1.1 "><p id="dli_08_0061__en-us_topic_0093946932_aeb35c2c96b4543eb958b14b9fa3fbece">A &lt;=&gt; B</p>
</td>
<td class="cellrowborder" valign="top" width="17.54%" headers="mcps1.3.4.2.4.1.2 "><p id="dli_08_0061__en-us_topic_0093946932_a13f1240c91af49338221126241869ad1">BOOLEAN</p>
</td>
<td class="cellrowborder" valign="top" width="64.44%" headers="mcps1.3.4.2.4.1.3 "><p id="dli_08_0061__en-us_topic_0093946932_a252d5307acbc41d4a10b85ba5625eee4">If A is equal to B, then <strong id="dli_08_0061__en-us_topic_0093946932_en-us_topic_0053447305_en-us_topic_0039551486_b3107620212348">TRUE</strong> is returned. Otherwise, <strong id="dli_08_0061__en-us_topic_0093946932_b121002552165055">FALSE</strong> is returned. If A and B are <strong id="dli_08_0061__en-us_topic_0093946932_b138806992116514">NULL</strong>, then <strong id="dli_08_0061__en-us_topic_0093946932_b205417571016514">TRUE</strong> is returned. If A or B is <strong id="dli_08_0061__en-us_topic_0093946932_b169074161116519">NULL</strong>, then <strong id="dli_08_0061__en-us_topic_0093946932_b178213976116519">FALSE</strong> is returned.</p>
</td>
</tr>
<tr id="dli_08_0061__en-us_topic_0093946932_r1e3c04e2c48b45d69f7080a04ff35390"><td class="cellrowborder" valign="top" width="18.02%" headers="mcps1.3.4.2.4.1.1 "><p id="dli_08_0061__en-us_topic_0093946932_a3909b3d157f44adc8a0a941825af1329">A &lt;&gt; B</p>
</td>
<td class="cellrowborder" valign="top" width="17.54%" headers="mcps1.3.4.2.4.1.2 "><p id="dli_08_0061__en-us_topic_0093946932_a6133d7dcec424c3ba39053fc06477691">BOOLEAN</p>
</td>
<td class="cellrowborder" valign="top" width="64.44%" headers="mcps1.3.4.2.4.1.3 "><p id="dli_08_0061__en-us_topic_0093946932_a3485804f64234cf59f8f85f0fb950f98">If A is not equal to B, then <strong id="dli_08_0061__en-us_topic_0093946932_en-us_topic_0053447305_en-us_topic_0039551486_b5601327812348">TRUE</strong> is returned. Otherwise, <strong id="dli_08_0061__en-us_topic_0093946932_b1845230488165117">FALSE</strong> is returned. If A or B is <strong id="dli_08_0061__en-us_topic_0093946932_b1034684888165127">NULL</strong>, then <strong id="dli_08_0061__en-us_topic_0093946932_b810305883165127">NULL</strong> is returned. This operator follows the standard SQL syntax.</p>
</td>
</tr>
<tr id="dli_08_0061__en-us_topic_0093946932_r7f29995469ea4edd9a004e0ee1879b02"><td class="cellrowborder" valign="top" width="18.02%" headers="mcps1.3.4.2.4.1.1 "><p id="dli_08_0061__en-us_topic_0093946932_ae9be8b4ba9d841678798db4bf3be884d">A != B</p>
</td>
<td class="cellrowborder" valign="top" width="17.54%" headers="mcps1.3.4.2.4.1.2 "><p id="dli_08_0061__en-us_topic_0093946932_aeaa3bb02fbd94c29991b84870eaa54ad">BOOLEAN</p>
</td>
<td class="cellrowborder" valign="top" width="64.44%" headers="mcps1.3.4.2.4.1.3 "><p id="dli_08_0061__en-us_topic_0093946932_ac7476ac3d8fa4155867f74db3a5a552a">This operator is the same as the &lt;&gt; logical operator. It follows the SQL Server syntax.</p>
</td>
</tr>
<tr id="dli_08_0061__en-us_topic_0093946932_radb3133fb0a4406c9dfcd6fa1ed3691c"><td class="cellrowborder" valign="top" width="18.02%" headers="mcps1.3.4.2.4.1.1 "><p id="dli_08_0061__en-us_topic_0093946932_a00d96d67e4c4497cbcf1ba1be4b098c0">A &lt; B</p>
</td>
<td class="cellrowborder" valign="top" width="17.54%" headers="mcps1.3.4.2.4.1.2 "><p id="dli_08_0061__en-us_topic_0093946932_a7d5de36952d0448787b49b8ecd162778">BOOLEAN</p>
</td>
<td class="cellrowborder" valign="top" width="64.44%" headers="mcps1.3.4.2.4.1.3 "><p id="dli_08_0061__en-us_topic_0093946932_aefd539484b384d5187186890d589df66">If A is less than B, then <strong id="dli_08_0061__en-us_topic_0093946932_en-us_topic_0053447305_en-us_topic_0039551486_b1908370312348">TRUE</strong> is returned. Otherwise, <strong id="dli_08_0061__en-us_topic_0093946932_b1370698237165156">FALSE</strong> is returned. If A or B is <strong id="dli_08_0061__en-us_topic_0093946932_b62237550716522">NULL</strong>, then <strong id="dli_08_0061__en-us_topic_0093946932_b144980965616522">NULL</strong> is returned.</p>
</td>
</tr>
<tr id="dli_08_0061__en-us_topic_0093946932_re7c55e3849c74bee91e91aead43e9965"><td class="cellrowborder" valign="top" width="18.02%" headers="mcps1.3.4.2.4.1.1 "><p id="dli_08_0061__en-us_topic_0093946932_ab51455f8317e45ec84d85265cecf50c2">A &lt;= B</p>
</td>
<td class="cellrowborder" valign="top" width="17.54%" headers="mcps1.3.4.2.4.1.2 "><p id="dli_08_0061__en-us_topic_0093946932_a0e9ea8cf4e4b4a9ea323bd9a147cc4f2">BOOLEAN</p>
</td>
<td class="cellrowborder" valign="top" width="64.44%" headers="mcps1.3.4.2.4.1.3 "><p id="dli_08_0061__en-us_topic_0093946932_a6ced672a751942e78ee226e6d516e570">If A is less than or equal to B, then <strong id="dli_08_0061__en-us_topic_0093946932_en-us_topic_0053447305_en-us_topic_0039551486_b4341133712348">TRUE</strong> is returned. Otherwise, <strong id="dli_08_0061__en-us_topic_0093946932_b684794616165222">FALSE</strong> is returned. If A or B is <strong id="dli_08_0061__en-us_topic_0093946932_b807541289165228">NULL</strong>, then <strong id="dli_08_0061__en-us_topic_0093946932_b1444063096165228">NULL</strong> is returned.</p>
</td>
</tr>
<tr id="dli_08_0061__en-us_topic_0093946932_r1b3c4636a1da4e8fa69ff52e5ea21392"><td class="cellrowborder" valign="top" width="18.02%" headers="mcps1.3.4.2.4.1.1 "><p id="dli_08_0061__en-us_topic_0093946932_a0487bafc014e414ba0782626872a1952">A &gt; B</p>
</td>
<td class="cellrowborder" valign="top" width="17.54%" headers="mcps1.3.4.2.4.1.2 "><p id="dli_08_0061__en-us_topic_0093946932_afa3aa3c56c4a441a97f4ba7ca276b799">BOOLEAN</p>
</td>
<td class="cellrowborder" valign="top" width="64.44%" headers="mcps1.3.4.2.4.1.3 "><p id="dli_08_0061__en-us_topic_0093946932_aee3430cae9ad4aebb3d50f74ea6a5b16">If A is greater than B, then <strong id="dli_08_0061__en-us_topic_0093946932_en-us_topic_0053447305_en-us_topic_0039551486_b1894037012348">TRUE</strong> is returned. Otherwise, <strong id="dli_08_0061__en-us_topic_0093946932_b2128325832165235">FALSE</strong> is returned. If A or B is <strong id="dli_08_0061__en-us_topic_0093946932_b1290016908165240">NULL</strong>, then <strong id="dli_08_0061__en-us_topic_0093946932_b2028481576165240">NULL</strong> is returned.</p>
</td>
</tr>
<tr id="dli_08_0061__en-us_topic_0093946932_r0e4372ed18e841399b3b9d3d74556010"><td class="cellrowborder" valign="top" width="18.02%" headers="mcps1.3.4.2.4.1.1 "><p id="dli_08_0061__en-us_topic_0093946932_a3469aaec5bb948f8bfdabddb8d5c05e6">A &gt;= B</p>
</td>
<td class="cellrowborder" valign="top" width="17.54%" headers="mcps1.3.4.2.4.1.2 "><p id="dli_08_0061__en-us_topic_0093946932_a144c85e0ae8d4a5aa7c67a7e722e925c">BOOLEAN</p>
</td>
<td class="cellrowborder" valign="top" width="64.44%" headers="mcps1.3.4.2.4.1.3 "><p id="dli_08_0061__en-us_topic_0093946932_ac64915813f864082b7eae3518c72fa0e">If A is greater than or equal to B, then <strong id="dli_08_0061__en-us_topic_0093946932_en-us_topic_0053447305_en-us_topic_0039551486_b71319312348">TRUE</strong> is returned. Otherwise, <strong id="dli_08_0061__en-us_topic_0093946932_b680638318165258">FALSE</strong> is returned. If A or B is <strong id="dli_08_0061__en-us_topic_0093946932_b204119620116535">NULL</strong>, then <strong id="dli_08_0061__en-us_topic_0093946932_b135665560516535">NULL</strong> is returned.</p>
</td>
</tr>
<tr id="dli_08_0061__en-us_topic_0093946932_r221a94c3cc6443489430371541cee275"><td class="cellrowborder" valign="top" width="18.02%" headers="mcps1.3.4.2.4.1.1 "><p id="dli_08_0061__en-us_topic_0093946932_a8d7c57db88fc4d45b1ad34ee7d93b487">A BETWEEN B AND C</p>
</td>
<td class="cellrowborder" valign="top" width="17.54%" headers="mcps1.3.4.2.4.1.2 "><p id="dli_08_0061__en-us_topic_0093946932_ac1c1c49bfd6c4507bc0541446c751934">BOOLEAN</p>
</td>
<td class="cellrowborder" valign="top" width="64.44%" headers="mcps1.3.4.2.4.1.3 "><p id="dli_08_0061__en-us_topic_0093946932_a3407fe5666bb49e791c4362a343e7590">If A is greater than or equal to B and less than or equal to C, then <strong id="dli_08_0061__en-us_topic_0093946932_en-us_topic_0053447305_en-us_topic_0039551486_b3489696112348">TRUE</strong> is returned. Otherwise, <strong id="dli_08_0061__en-us_topic_0093946932_b1996356793165325">FALSE</strong> is returned. If A, B, or C is <strong id="dli_08_0061__en-us_topic_0093946932_b1555949976165333">NULL</strong>, then <strong id="dli_08_0061__en-us_topic_0093946932_b1299272305165333">NULL</strong> is returned.</p>
</td>
</tr>
<tr id="dli_08_0061__en-us_topic_0093946932_row34618620174347"><td class="cellrowborder" valign="top" width="18.02%" headers="mcps1.3.4.2.4.1.1 "><p id="dli_08_0061__en-us_topic_0093946932_p43132131174347">A NOT BETWEEN B AND C</p>
</td>
<td class="cellrowborder" valign="top" width="17.54%" headers="mcps1.3.4.2.4.1.2 "><p id="dli_08_0061__en-us_topic_0093946932_p4041686174347">BOOLEAN</p>
</td>
<td class="cellrowborder" valign="top" width="64.44%" headers="mcps1.3.4.2.4.1.3 "><p id="dli_08_0061__en-us_topic_0093946932_p58941187174347">If A is less than B or greater than C, <strong>TRUE</strong> is returned; otherwise, <strong>FALSE</strong> is returned. If A, B, or C is <strong>NULL</strong>, then <strong>NULL</strong> is returned.</p>
</td>
</tr>
<tr id="dli_08_0061__en-us_topic_0093946932_r812788df692c41998d3d79180da55e89"><td class="cellrowborder" valign="top" width="18.02%" headers="mcps1.3.4.2.4.1.1 "><p id="dli_08_0061__en-us_topic_0093946932_a2147dc21dc8e4b3fb0cb6c52673a524a">A IS NULL</p>
</td>
<td class="cellrowborder" valign="top" width="17.54%" headers="mcps1.3.4.2.4.1.2 "><p id="dli_08_0061__en-us_topic_0093946932_ac17547ffa0b24d81b04ca55c1834a707">BOOLEAN</p>
</td>
<td class="cellrowborder" valign="top" width="64.44%" headers="mcps1.3.4.2.4.1.3 "><p id="dli_08_0061__en-us_topic_0093946932_a8e36fb4524784bc4b017bae088589fb5">If A is <strong id="dli_08_0061__en-us_topic_0093946932_en-us_topic_0053447305_en-us_topic_0039551486_b6695247112348">NULL</strong>, then <strong id="dli_08_0061__en-us_topic_0093946932_en-us_topic_0053447305_en-us_topic_0039551486_b5631776612348">TRUE</strong> is returned. Otherwise, <strong id="dli_08_0061__en-us_topic_0093946932_b1171993385165354">FALSE</strong> is returned.</p>
</td>
</tr>
<tr id="dli_08_0061__en-us_topic_0093946932_ref5419a6798b45189324c512e03183ba"><td class="cellrowborder" valign="top" width="18.02%" headers="mcps1.3.4.2.4.1.1 "><p id="dli_08_0061__en-us_topic_0093946932_a6a7ad85f6fc0483c8f1b2af3c32f10c5">A IS NOT NULL</p>
</td>
<td class="cellrowborder" valign="top" width="17.54%" headers="mcps1.3.4.2.4.1.2 "><p id="dli_08_0061__en-us_topic_0093946932_a818a91cdcdd24394bba158e1dd95b695">BOOLEAN</p>
</td>
<td class="cellrowborder" valign="top" width="64.44%" headers="mcps1.3.4.2.4.1.3 "><p id="dli_08_0061__en-us_topic_0093946932_ae5ad86df58fb4709aba70d53034cfc16">If A is not <strong id="dli_08_0061__en-us_topic_0093946932_en-us_topic_0053447305_en-us_topic_0039551486_b2264308112348">NULL</strong>, then <strong id="dli_08_0061__en-us_topic_0093946932_en-us_topic_0053447305_en-us_topic_0039551486_b1886871712348">TRUE</strong> is returned. Otherwise, <strong id="dli_08_0061__en-us_topic_0093946932_b1690563583165436">FALSE</strong> is returned.</p>
</td>
</tr>
<tr id="dli_08_0061__en-us_topic_0093946932_r3aeca40be5774dca9e0c065015514593"><td class="cellrowborder" valign="top" width="18.02%" headers="mcps1.3.4.2.4.1.1 "><p id="dli_08_0061__en-us_topic_0093946932_a5010b2e978d7477b9441eeb872d6808d">A LIKE B</p>
</td>
<td class="cellrowborder" valign="top" width="17.54%" headers="mcps1.3.4.2.4.1.2 "><p id="dli_08_0061__en-us_topic_0093946932_a2dff7075597241a4a136b9c4e8e2cbb6">BOOLEAN</p>
</td>
<td class="cellrowborder" valign="top" width="64.44%" headers="mcps1.3.4.2.4.1.3 "><p id="dli_08_0061__en-us_topic_0093946932_a4dbfab3e6d8b45c7a1d3a4a1495b07af">If A matches B, then <strong id="dli_08_0061__en-us_topic_0093946932_en-us_topic_0053447305_en-us_topic_0039551486_b719950412348">TRUE</strong> is returned. Otherwise, <strong id="dli_08_0061__en-us_topic_0093946932_b1830521160165445">FALSE</strong> is returned. If A or B is <strong id="dli_08_0061__en-us_topic_0093946932_b2113978698165456">NULL</strong>, then <strong id="dli_08_0061__en-us_topic_0093946932_b1675542518165456">NULL</strong> is returned.</p>
</td>
</tr>
<tr id="dli_08_0061__en-us_topic_0093946932_r3348f152de444b28b7af8b520f98563f"><td class="cellrowborder" valign="top" width="18.02%" headers="mcps1.3.4.2.4.1.1 "><p id="dli_08_0061__en-us_topic_0093946932_a1060faa8afbe48ea848a73c4ddf39a8a">A NOT LIKE B</p>
</td>
<td class="cellrowborder" valign="top" width="17.54%" headers="mcps1.3.4.2.4.1.2 "><p id="dli_08_0061__en-us_topic_0093946932_a265001803d4d4cd59b73cf176b9c1e71">BOOLEAN</p>
</td>
<td class="cellrowborder" valign="top" width="64.44%" headers="mcps1.3.4.2.4.1.3 "><p id="dli_08_0061__en-us_topic_0093946932_a3a66444ba1e041d7bb16e6734ded0390">If A does not match B, then <strong id="dli_08_0061__en-us_topic_0093946932_en-us_topic_0053447305_en-us_topic_0039551486_b2072796512348">TRUE</strong> is returned. Otherwise, <strong id="dli_08_0061__en-us_topic_0093946932_b1150898130165528">FALSE</strong> is returned. If A or B is <strong id="dli_08_0061__en-us_topic_0093946932_b621457430165532">NULL</strong>, then <strong id="dli_08_0061__en-us_topic_0093946932_b696901383165532">NULL</strong> is returned.</p>
</td>
</tr>
<tr id="dli_08_0061__en-us_topic_0093946932_re2fcc1b726894f91a91bfd7e4cc3438b"><td class="cellrowborder" valign="top" width="18.02%" headers="mcps1.3.4.2.4.1.1 "><p id="dli_08_0061__en-us_topic_0093946932_a45bbec467d4646ffabc9b131fa178aa9">A RLIKE B</p>
</td>
<td class="cellrowborder" valign="top" width="17.54%" headers="mcps1.3.4.2.4.1.2 "><p id="dli_08_0061__en-us_topic_0093946932_a9bbe9b77858b4e7281bd939b1914aea0">BOOLEAN</p>
</td>
<td class="cellrowborder" valign="top" width="64.44%" headers="mcps1.3.4.2.4.1.3 "><p id="dli_08_0061__en-us_topic_0093946932_ae39d1214b4fd49d998f32d2cfb40eae1">This operator is used for the LIKE operation of JAVA. If A or its substring matches B, then <strong id="dli_08_0061__en-us_topic_0093946932_b1689869822165547">TRUE</strong> is returned. Otherwise, <strong id="dli_08_0061__en-us_topic_0093946932_b1368693060165552">FALSE</strong> is returned. If A or B is <strong id="dli_08_0061__en-us_topic_0093946932_b1260875484165557">NULL</strong>, then <strong id="dli_08_0061__en-us_topic_0093946932_b507442388165557">NULL</strong> is returned.</p>
</td>
</tr>
<tr id="dli_08_0061__en-us_topic_0093946932_ree84befbf3b24402979aefca74077d04"><td class="cellrowborder" valign="top" width="18.02%" headers="mcps1.3.4.2.4.1.1 "><p id="dli_08_0061__en-us_topic_0093946932_afd77e508a01a43fcad0bbb78fda10615">A REGEXP B</p>
</td>
<td class="cellrowborder" valign="top" width="17.54%" headers="mcps1.3.4.2.4.1.2 "><p id="dli_08_0061__en-us_topic_0093946932_a70989cbc956b4307b326122112db600f">BOOLEAN</p>
</td>
<td class="cellrowborder" valign="top" width="64.44%" headers="mcps1.3.4.2.4.1.3 "><p id="dli_08_0061__en-us_topic_0093946932_a0e9575b965304c34bd8e866c24b056aa">The result is the same as A RLIKE B.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="dli_08_0060.html">Operators</a></div>
</div>
</div>