doc-exports/docs/ddm/umn/ddm_08_0027.html
Ru, Li Yi 4b09a03a51 ddm_umn
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>
2024-04-11 11:39:26 +00:00

17 lines
1.2 KiB
HTML

<a name="ddm_08_0027"></a><a name="ddm_08_0027"></a>
<h1 class="topictitle1">HINT- ALLOW_ALTER_RERUN</h1>
<div id="body1601175461682"><p id="ddm_08_0027__p105101355135815"><strong id="ddm_08_0027__b2254121020131">Command Format:</strong></p>
<p id="ddm_08_0027__p3261131171814"><strong id="ddm_08_0027__b191721064211">/*+ allow_alter_rerun=true*/</strong><em id="ddm_08_0027__i13371181310215">&lt;ALTER TABLE&gt;</em></p>
<p id="ddm_08_0027__p19849152614011"><strong id="ddm_08_0027__b3665249164719">Description:</strong></p>
<p id="ddm_08_0027__p108481426502">Using this hint ensures that commands can be repeatedly executed, and no error is reported. This hint supports the following ALTER TABLE statements: ADD COLUMN, MODIFY COLUMN, DROP COLUMN, ADD INDEX, DROP INDEX, CHANGE COLUMN, ADD PARTITION, and DROP PARTITION.</p>
<p id="ddm_08_0027__p289118391815">Example:</p>
<p id="ddm_08_0027__p12437315131617"><strong id="ddm_08_0027__b11839326920">/*+ allow_alter_rerun=true*/ALTER TABLE aaa_tb ADD schoolroll varchar(128) not null comment 'Enrollment data'</strong></p>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="ddm_08_0002.html">Supported SQL Statements</a></div>
</div>
</div>