forked from docs/doc-exports
Reviewed-by: Wagner, Fabian <fabian.wagner@t-systems.com> Co-authored-by: Ru, Li Yi <liyiru7@huawei.com> Co-committed-by: Ru, Li Yi <liyiru7@huawei.com>
17 lines
3.1 KiB
HTML
17 lines
3.1 KiB
HTML
<a name="ddm_08_0013"></a><a name="ddm_08_0013"></a>
|
|
|
|
<h1 class="topictitle1">Use Constraints</h1>
|
|
<div id="body1597045079948"><p id="ddm_08_0013__p466232353417">DDM is compatible with the MySQL license and syntax, but the use of SQL statements is limited due to differences between distributed databases and single-node databases.</p>
|
|
<div class="section" id="ddm_08_0013__section3131558184018"><h4 class="sectiontitle">Unsupported SQL Statements</h4><ul id="ddm_08_0013__ul71302554104"><li id="ddm_08_0013__li580003915295">Triggers</li><li id="ddm_08_0013__li5290184312411">Temporary tables</li><li id="ddm_08_0013__li1413194211305">DO statement</li><li id="ddm_08_0013__li1627111476295">Association with foreign keys</li><li id="ddm_08_0013__li515914301114">RESET statement</li><li id="ddm_08_0013__li115312913124">FLUSH statement</li><li id="ddm_08_0013__li1346194081816">BINLOG statement</li><li id="ddm_08_0013__li11979203815161">HANDLER statement</li><li id="ddm_08_0013__li54647442619">SHOW WARNINGS statement</li><li id="ddm_08_0013__li0459622202811">Assignment operator :=</li><li id="ddm_08_0013__li1736135114358">Operators less than (<), assignment (=), and more than (>)</li><li id="ddm_08_0013__li5971853365">Expression IS UNKNOWN</li><li id="ddm_08_0013__li4135132014123">INSTALL and UNINSTALL PLUGIN statements</li><li id="ddm_08_0013__li171137023014">Cross-shard stored procedures and custom functions</li><li id="ddm_08_0013__li1527811613301">Statements for modifying database names, table names, and sharding field names and types</li><li id="ddm_08_0013__li585183291110">Most of SHOW statements such as SHOW PROFILES and SHOW ERRORS</li><li id="ddm_08_0013__li209371125413">Table maintenance statements, including ANALYZE, CHECK, CHECKSUM, OPTIMIZE, and REPAIR TABLE</li><li id="ddm_08_0013__li929665115111">Statements for assigning a value to or querying variable <strong id="ddm_08_0013__b918724332216">session</strong>, for example, set @rowid=0;select @rowid:=@rowid+1,id from user</li><li id="ddm_08_0013__li8771013185216">SQL statements that use -- or /*...*/ to comment out a single line or multiple lines of code</li><li id="ddm_08_0013__li16348133183816">The result of the REPEAT function contains a maximum of 1,000,000 characters (in version 3.0.9 or later).</li></ul>
|
|
</div>
|
|
<div class="section" id="ddm_08_0013__section6930101771618"><h4 class="sectiontitle">Permission Levels</h4><p id="ddm_08_0013__p1916616713487">Permission levels supported by DDM are as follows:</p>
|
|
<ul id="ddm_08_0013__ul1923091081615"><li id="ddm_08_0013__li122301810131610">Global level (not supported)</li><li id="ddm_08_0013__li152306109169">Database level (supported)</li><li id="ddm_08_0013__li192301510171615">Table level (supported)</li><li id="ddm_08_0013__li1523051051618">Column level (not supported)</li><li id="ddm_08_0013__li52301510111620">Subprogram level (not supported)</li><li id="ddm_08_0013__li42197472214">User level (supported)</li></ul>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="ddm_08_0001.html">SQL Syntax</a></div>
|
|
</div>
|
|
</div>
|
|
|