Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
168 changes: 74 additions & 94 deletions _includes/v19.2/sql/diagrams/alter_column.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div><svg width="902" height="484">
<div><svg width="917" height="529">
<polygon points="11 17 3 13 3 21"></polygon>
<polygon points="19 17 11 13 11 21"></polygon>
<rect x="33" y="3" width="62" height="32" rx="10"></rect>
Expand All @@ -10,101 +10,81 @@
<rect x="217" y="35" width="34" height="32" rx="10"></rect>
<rect x="215" y="33" width="34" height="32" class="terminal" rx="10"></rect>
<text class="terminal" x="225" y="53">IF</text>
<rect x="271" y="35" width="68" height="32" rx="10"></rect>
<rect x="269" y="33" width="68" height="32" class="terminal" rx="10"></rect>
<rect x="271" y="35" width="70" height="32" rx="10"></rect>
<rect x="269" y="33" width="70" height="32" class="terminal" rx="10"></rect>
<text class="terminal" x="279" y="53">EXISTS</text>
<rect x="379" y="3" width="90" height="32"></rect>
<rect x="377" y="1" width="90" height="32" class="nonterminal"></rect>
<text class="nonterminal" x="387" y="21">table_name</text>
<rect x="489" y="3" width="62" height="32" rx="10"></rect>
<rect x="487" y="1" width="62" height="32" class="terminal" rx="10"></rect>
<text class="terminal" x="497" y="21">ALTER</text>
<rect x="591" y="35" width="78" height="32" rx="10"></rect>
<rect x="589" y="33" width="78" height="32" class="terminal" rx="10"></rect>
<text class="terminal" x="599" y="53">COLUMN</text>
<a xlink:href="sql-grammar.html#column_name" xlink:title="column_name">
<rect x="402" y="101" width="104" height="32"></rect>
<rect x="400" y="99" width="104" height="32" class="nonterminal"></rect>
<text class="nonterminal" x="410" y="119">column_name</text>
</a>
<rect x="45" y="167" width="44" height="32" rx="10"></rect>
<rect x="381" y="3" width="96" height="32"></rect>
<rect x="379" y="1" width="96" height="32" class="nonterminal"></rect>
<text class="nonterminal" x="389" y="21">table_name</text><rect x="497" y="3" width="62" height="32" rx="10"></rect>
<rect x="495" y="1" width="62" height="32" class="terminal" rx="10"></rect>
<text class="terminal" x="505" y="21">ALTER</text>
<rect x="599" y="35" width="78" height="32" rx="10"></rect>
<rect x="597" y="33" width="78" height="32" class="terminal" rx="10"></rect>
<text class="terminal" x="607" y="53">COLUMN</text><a xlink:href="sql-grammar.html#column_name" xlink:title="column_name">
<rect x="407" y="101" width="108" height="32"></rect>
<rect x="405" y="99" width="108" height="32" class="nonterminal"></rect>
<text class="nonterminal" x="415" y="119">column_name</text></a><rect x="45" y="167" width="44" height="32" rx="10"></rect>
<rect x="43" y="165" width="44" height="32" class="terminal" rx="10"></rect>
<text class="terminal" x="53" y="185">SET</text>
<rect x="129" y="167" width="80" height="32" rx="10"></rect>
<rect x="127" y="165" width="80" height="32" class="terminal" rx="10"></rect>
<text class="terminal" x="137" y="185">DEFAULT</text>
<a xlink:href="sql-grammar.html#a_expr" xlink:title="a_expr">
<rect x="229" y="167" width="62" height="32"></rect>
<rect x="227" y="165" width="62" height="32" class="nonterminal"></rect>
<text class="nonterminal" x="237" y="185">a_expr</text>
</a>
<rect x="129" y="211" width="56" height="32" rx="10"></rect>
<rect x="127" y="209" width="56" height="32" class="terminal" rx="10"></rect>
<text class="terminal" x="137" y="229">DATA</text>
<rect x="205" y="211" width="54" height="32" rx="10"></rect>
<rect x="203" y="209" width="54" height="32" class="terminal" rx="10"></rect>
<text class="terminal" x="213" y="229">TYPE</text>
<a xlink:href="sql-grammar.html#typename" xlink:title="typename">
<rect x="279" y="211" width="80" height="32"></rect>
<rect x="277" y="209" width="80" height="32" class="nonterminal"></rect>
<text class="nonterminal" x="287" y="229">typename</text>
</a>
<rect x="399" y="243" width="80" height="32" rx="10"></rect>
<rect x="397" y="241" width="80" height="32" class="terminal" rx="10"></rect>
<text class="terminal" x="407" y="261">COLLATE</text>
<a xlink:href="sql-grammar.html#collation_name" xlink:title="collation_name">
<rect x="499" y="243" width="110" height="32"></rect>
<rect x="497" y="241" width="110" height="32" class="nonterminal"></rect>
<text class="nonterminal" x="507" y="261">collation_name</text>
</a>
<rect x="669" y="243" width="64" height="32" rx="10"></rect>
<rect x="667" y="241" width="64" height="32" class="terminal" rx="10"></rect>
<text class="terminal" x="677" y="261">USING</text>
<a xlink:href="sql-grammar.html#a_expr" xlink:title="a_expr">
<rect x="753" y="243" width="62" height="32"></rect>
<rect x="751" y="241" width="62" height="32" class="nonterminal"></rect>
<text class="nonterminal" x="761" y="261">a_expr</text>
</a>
<rect x="45" y="287" width="58" height="32" rx="10"></rect>
<rect x="43" y="285" width="58" height="32" class="terminal" rx="10"></rect>
<text class="terminal" x="53" y="305">DROP</text>
<rect x="143" y="287" width="80" height="32" rx="10"></rect>
<rect x="141" y="285" width="80" height="32" class="terminal" rx="10"></rect>
<text class="terminal" x="151" y="305">DEFAULT</text>
<rect x="143" y="331" width="48" height="32" rx="10"></rect>
<rect x="141" y="329" width="48" height="32" class="terminal" rx="10"></rect>
<text class="terminal" x="151" y="349">NOT</text>
<rect x="211" y="331" width="54" height="32" rx="10"></rect>
<rect x="209" y="329" width="54" height="32" class="terminal" rx="10"></rect>
<text class="terminal" x="219" y="349">NULL</text>
<rect x="143" y="375" width="74" height="32" rx="10"></rect>
<rect x="141" y="373" width="74" height="32" class="terminal" rx="10"></rect>
<text class="terminal" x="151" y="393">STORED</text>
<rect x="45" y="419" width="54" height="32" rx="10"></rect>
<rect x="43" y="417" width="54" height="32" class="terminal" rx="10"></rect>
<text class="terminal" x="53" y="437">TYPE</text>
<a xlink:href="sql-grammar.html#typename" xlink:title="typename">
<rect x="119" y="419" width="80" height="32"></rect>
<rect x="117" y="417" width="80" height="32" class="nonterminal"></rect>
<text class="nonterminal" x="127" y="437">typename</text>
</a>
<rect x="239" y="451" width="80" height="32" rx="10"></rect>
<rect x="237" y="449" width="80" height="32" class="terminal" rx="10"></rect>
<text class="terminal" x="247" y="469">COLLATE</text>
<a xlink:href="sql-grammar.html#collation_name" xlink:title="collation_name">
<rect x="339" y="451" width="110" height="32"></rect>
<rect x="337" y="449" width="110" height="32" class="nonterminal"></rect>
<text class="nonterminal" x="347" y="469">collation_name</text>
</a>
<rect x="509" y="451" width="64" height="32" rx="10"></rect>
<rect x="507" y="449" width="64" height="32" class="terminal" rx="10"></rect>
<text class="terminal" x="517" y="469">USING</text>
<a xlink:href="sql-grammar.html#a_expr" xlink:title="a_expr">
<rect x="593" y="451" width="62" height="32"></rect>
<rect x="591" y="449" width="62" height="32" class="nonterminal"></rect>
<text class="nonterminal" x="601" y="469">a_expr</text>
</a>
<path class="line" d="m19 17 h2 m0 0 h10 m62 0 h10 m0 0 h10 m62 0 h10 m20 0 h10 m0 0 h132 m-162 0 h20 m142 0 h20 m-182 0 q10 0 10 10 m162 0 q0 -10 10 -10 m-172 10 v12 m162 0 v-12 m-162 12 q0 10 10 10 m142 0 q10 0 10 -10 m-152 10 h10 m34 0 h10 m0 0 h10 m68 0 h10 m20 -32 h10 m90 0 h10 m0 0 h10 m62 0 h10 m20 0 h10 m0 0 h88 m-118 0 h20 m98 0 h20 m-138 0 q10 0 10 10 m118 0 q0 -10 10 -10 m-128 10 v12 m118 0 v-12 m-118 12 q0 10 10 10 m98 0 q10 0 10 -10 m-108 10 h10 m78 0 h10 m22 -32 l2 0 m2 0 l2 0 m2 0 l2 0 m-331 98 l2 0 m2 0 l2 0 m2 0 l2 0 m2 0 h10 m104 0 h10 m2 0 l2 0 m2 0 l2 0 m2 0 l2 0 m-525 66 l2 0 m2 0 l2 0 m2 0 l2 0 m22 0 h10 m44 0 h10 m20 0 h10 m80 0 h10 m0 0 h10 m62 0 h10 m0 0 h544 m-746 0 h20 m726 0 h20 m-766 0 q10 0 10 10 m746 0 q0 -10 10 -10 m-756 10 v24 m746 0 v-24 m-746 24 q0 10 10 10 m726 0 q10 0 10 -10 m-736 10 h10 m56 0 h10 m0 0 h10 m54 0 h10 m0 0 h10 m80 0 h10 m20 0 h10 m0 0 h220 m-250 0 h20 m230 0 h20 m-270 0 q10 0 10 10 m250 0 q0 -10 10 -10 m-260 10 v12 m250 0 v-12 m-250 12 q0 10 10 10 m230 0 q10 0 10 -10 m-240 10 h10 m80 0 h10 m0 0 h10 m110 0 h10 m40 -32 h10 m0 0 h156 m-186 0 h20 m166 0 h20 m-206 0 q10 0 10 10 m186 0 q0 -10 10 -10 m-196 10 v12 m186 0 v-12 m-186 12 q0 10 10 10 m166 0 q10 0 10 -10 m-176 10 h10 m64 0 h10 m0 0 h10 m62 0 h10 m-810 -76 h20 m830 0 h20 m-870 0 q10 0 10 10 m850 0 q0 -10 10 -10 m-860 10 v100 m850 0 v-100 m-850 100 q0 10 10 10 m830 0 q10 0 10 -10 m-840 10 h10 m58 0 h10 m20 0 h10 m80 0 h10 m0 0 h42 m-162 0 h20 m142 0 h20 m-182 0 q10 0 10 10 m162 0 q0 -10 10 -10 m-172 10 v24 m162 0 v-24 m-162 24 q0 10 10 10 m142 0 q10 0 10 -10 m-152 10 h10 m48 0 h10 m0 0 h10 m54 0 h10 m-152 -10 v20 m162 0 v-20 m-162 20 v24 m162 0 v-24 m-162 24 q0 10 10 10 m142 0 q10 0 10 -10 m-152 10 h10 m74 0 h10 m0 0 h48 m20 -88 h570 m-840 -10 v20 m850 0 v-20 m-850 20 v112 m850 0 v-112 m-850 112 q0 10 10 10 m830 0 q10 0 10 -10 m-840 10 h10 m54 0 h10 m0 0 h10 m80 0 h10 m20 0 h10 m0 0 h220 m-250 0 h20 m230 0 h20 m-270 0 q10 0 10 10 m250 0 q0 -10 10 -10 m-260 10 v12 m250 0 v-12 m-250 12 q0 10 10 10 m230 0 q10 0 10 -10 m-240 10 h10 m80 0 h10 m0 0 h10 m110 0 h10 m40 -32 h10 m0 0 h156 m-186 0 h20 m166 0 h20 m-206 0 q10 0 10 10 m186 0 q0 -10 10 -10 m-196 10 v12 m186 0 v-12 m-186 12 q0 10 10 10 m166 0 q10 0 10 -10 m-176 10 h10 m64 0 h10 m0 0 h10 m62 0 h10 m20 -32 h180 m23 -252 h-3"></path>
<polygon points="893 181 901 177 901 185"></polygon>
<polygon points="893 181 885 177 885 185"></polygon>
</svg></div>
<text class="terminal" x="137" y="185">DEFAULT</text><a xlink:href="sql-grammar.html#a_expr" xlink:title="a_expr">
<rect x="229" y="167" width="64" height="32"></rect>
<rect x="227" y="165" width="64" height="32" class="nonterminal"></rect>
<text class="nonterminal" x="237" y="185">a_expr</text></a><rect x="129" y="211" width="48" height="32" rx="10"></rect>
<rect x="127" y="209" width="48" height="32" class="terminal" rx="10"></rect>
<text class="terminal" x="137" y="229">NOT</text>
<rect x="197" y="211" width="56" height="32" rx="10"></rect>
<rect x="195" y="209" width="56" height="32" class="terminal" rx="10"></rect>
<text class="terminal" x="205" y="229">NULL</text>
<rect x="129" y="255" width="56" height="32" rx="10"></rect>
<rect x="127" y="253" width="56" height="32" class="terminal" rx="10"></rect>
<text class="terminal" x="137" y="273">DATA</text>
<rect x="205" y="255" width="54" height="32" rx="10"></rect>
<rect x="203" y="253" width="54" height="32" class="terminal" rx="10"></rect>
<text class="terminal" x="213" y="273">TYPE</text><a xlink:href="sql-grammar.html#typename" xlink:title="typename">
<rect x="279" y="255" width="84" height="32"></rect>
<rect x="277" y="253" width="84" height="32" class="nonterminal"></rect>
<text class="nonterminal" x="287" y="273">typename</text></a><rect x="403" y="287" width="82" height="32" rx="10"></rect>
<rect x="401" y="285" width="82" height="32" class="terminal" rx="10"></rect>
<text class="terminal" x="411" y="305">COLLATE</text><a xlink:href="sql-grammar.html#collation_name" xlink:title="collation_name">
<rect x="505" y="287" width="116" height="32"></rect>
<rect x="503" y="285" width="116" height="32" class="nonterminal"></rect>
<text class="nonterminal" x="513" y="305">collation_name</text></a><rect x="681" y="287" width="64" height="32" rx="10"></rect>
<rect x="679" y="285" width="64" height="32" class="terminal" rx="10"></rect>
<text class="terminal" x="689" y="305">USING</text><a xlink:href="sql-grammar.html#a_expr" xlink:title="a_expr">
<rect x="765" y="287" width="64" height="32"></rect>
<rect x="763" y="285" width="64" height="32" class="nonterminal"></rect>
<text class="nonterminal" x="773" y="305">a_expr</text></a><rect x="45" y="331" width="58" height="32" rx="10"></rect>
<rect x="43" y="329" width="58" height="32" class="terminal" rx="10"></rect>
<text class="terminal" x="53" y="349">DROP</text>
<rect x="143" y="331" width="80" height="32" rx="10"></rect>
<rect x="141" y="329" width="80" height="32" class="terminal" rx="10"></rect>
<text class="terminal" x="151" y="349">DEFAULT</text>
<rect x="143" y="375" width="48" height="32" rx="10"></rect>
<rect x="141" y="373" width="48" height="32" class="terminal" rx="10"></rect>
<text class="terminal" x="151" y="393">NOT</text>
<rect x="211" y="375" width="56" height="32" rx="10"></rect>
<rect x="209" y="373" width="56" height="32" class="terminal" rx="10"></rect>
<text class="terminal" x="219" y="393">NULL</text>
<rect x="143" y="419" width="76" height="32" rx="10"></rect>
<rect x="141" y="417" width="76" height="32" class="terminal" rx="10"></rect>
<text class="terminal" x="151" y="437">STORED</text>
<rect x="45" y="463" width="54" height="32" rx="10"></rect>
<rect x="43" y="461" width="54" height="32" class="terminal" rx="10"></rect>
<text class="terminal" x="53" y="481">TYPE</text><a xlink:href="sql-grammar.html#typename" xlink:title="typename">
<rect x="119" y="463" width="84" height="32"></rect>
<rect x="117" y="461" width="84" height="32" class="nonterminal"></rect>
<text class="nonterminal" x="127" y="481">typename</text></a><rect x="243" y="495" width="82" height="32" rx="10"></rect>
<rect x="241" y="493" width="82" height="32" class="terminal" rx="10"></rect>
<text class="terminal" x="251" y="513">COLLATE</text><a xlink:href="sql-grammar.html#collation_name" xlink:title="collation_name">
<rect x="345" y="495" width="116" height="32"></rect>
<rect x="343" y="493" width="116" height="32" class="nonterminal"></rect>
<text class="nonterminal" x="353" y="513">collation_name</text></a><rect x="521" y="495" width="64" height="32" rx="10"></rect>
<rect x="519" y="493" width="64" height="32" class="terminal" rx="10"></rect>
<text class="terminal" x="529" y="513">USING</text><a xlink:href="sql-grammar.html#a_expr" xlink:title="a_expr">
<rect x="605" y="495" width="64" height="32"></rect>
<rect x="603" y="493" width="64" height="32" class="nonterminal"></rect>
<text class="nonterminal" x="613" y="513">a_expr</text></a><path class="line" d="m19 17 h2 m0 0 h10 m62 0 h10 m0 0 h10 m62 0 h10 m20 0 h10 m0 0 h134 m-164 0 h20 m144 0 h20 m-184 0 q10 0 10 10 m164 0 q0 -10 10 -10 m-174 10 v12 m164 0 v-12 m-164 12 q0 10 10 10 m144 0 q10 0 10 -10 m-154 10 h10 m34 0 h10 m0 0 h10 m70 0 h10 m20 -32 h10 m96 0 h10 m0 0 h10 m62 0 h10 m20 0 h10 m0 0 h88 m-118 0 h20 m98 0 h20 m-138 0 q10 0 10 10 m118 0 q0 -10 10 -10 m-128 10 v12 m118 0 v-12 m-118 12 q0 10 10 10 m98 0 q10 0 10 -10 m-108 10 h10 m78 0 h10 m22 -32 l2 0 m2 0 l2 0 m2 0 l2 0 m-334 98 l2 0 m2 0 l2 0 m2 0 l2 0 m2 0 h10 m108 0 h10 m2 0 l2 0 m2 0 l2 0 m2 0 l2 0 m-534 66 l2 0 m2 0 l2 0 m2 0 l2 0 m22 0 h10 m44 0 h10 m20 0 h10 m80 0 h10 m0 0 h10 m64 0 h10 m0 0 h556 m-760 0 h20 m740 0 h20 m-780 0 q10 0 10 10 m760 0 q0 -10 10 -10 m-770 10 v24 m760 0 v-24 m-760 24 q0 10 10 10 m740 0 q10 0 10 -10 m-750 10 h10 m48 0 h10 m0 0 h10 m56 0 h10 m0 0 h596 m-750 -10 v20 m760 0 v-20 m-760 20 v24 m760 0 v-24 m-760 24 q0 10 10 10 m740 0 q10 0 10 -10 m-750 10 h10 m56 0 h10 m0 0 h10 m54 0 h10 m0 0 h10 m84 0 h10 m20 0 h10 m0 0 h228 m-258 0 h20 m238 0 h20 m-278 0 q10 0 10 10 m258 0 q0 -10 10 -10 m-268 10 v12 m258 0 v-12 m-258 12 q0 10 10 10 m238 0 q10 0 10 -10 m-248 10 h10 m82 0 h10 m0 0 h10 m116 0 h10 m40 -32 h10 m0 0 h158 m-188 0 h20 m168 0 h20 m-208 0 q10 0 10 10 m188 0 q0 -10 10 -10 m-198 10 v12 m188 0 v-12 m-188 12 q0 10 10 10 m168 0 q10 0 10 -10 m-178 10 h10 m64 0 h10 m0 0 h10 m64 0 h10 m-824 -120 h20 m844 0 h20 m-884 0 q10 0 10 10 m864 0 q0 -10 10 -10 m-874 10 v144 m864 0 v-144 m-864 144 q0 10 10 10 m844 0 q10 0 10 -10 m-854 10 h10 m58 0 h10 m20 0 h10 m80 0 h10 m0 0 h44 m-164 0 h20 m144 0 h20 m-184 0 q10 0 10 10 m164 0 q0 -10 10 -10 m-174 10 v24 m164 0 v-24 m-164 24 q0 10 10 10 m144 0 q10 0 10 -10 m-154 10 h10 m48 0 h10 m0 0 h10 m56 0 h10 m-154 -10 v20 m164 0 v-20 m-164 20 v24 m164 0 v-24 m-164 24 q0 10 10 10 m144 0 q10 0 10 -10 m-154 10 h10 m76 0 h10 m0 0 h48 m20 -88 h582 m-854 -10 v20 m864 0 v-20 m-864 20 v112 m864 0 v-112 m-864 112 q0 10 10 10 m844 0 q10 0 10 -10 m-854 10 h10 m54 0 h10 m0 0 h10 m84 0 h10 m20 0 h10 m0 0 h228 m-258 0 h20 m238 0 h20 m-278 0 q10 0 10 10 m258 0 q0 -10 10 -10 m-268 10 v12 m258 0 v-12 m-258 12 q0 10 10 10 m238 0 q10 0 10 -10 m-248 10 h10 m82 0 h10 m0 0 h10 m116 0 h10 m40 -32 h10 m0 0 h158 m-188 0 h20 m168 0 h20 m-208 0 q10 0 10 10 m188 0 q0 -10 10 -10 m-198 10 v12 m188 0 v-12 m-188 12 q0 10 10 10 m168 0 q10 0 10 -10 m-178 10 h10 m64 0 h10 m0 0 h10 m64 0 h10 m20 -32 h180 m23 -296 h-3"></path>
<polygon points="907 181 915 177 915 185"></polygon>
<polygon points="907 181 899 177 899 185"></polygon></svg></div>
2 changes: 1 addition & 1 deletion v19.2/add-constraint.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ The `ADD CONSTRAINT` [statement](sql-statements.html) is part of `ALTER TABLE` a
- [Foreign key](#add-the-foreign-key-constraint-with-cascade)

{{site.data.alerts.callout_info}}
The [`PRIMARY KEY`](primary-key.html) and [`NOT NULL`](not-null.html) constraints can only be applied through [`CREATE TABLE`](create-table.html). The [`DEFAULT`](default-value.html) constraint is managed through [`ALTER COLUMN`](alter-column.html).
The [`PRIMARY KEY`](primary-key.html) can only be applied through [`CREATE TABLE`](create-table.html). The [`DEFAULT`](default-value.html) and [`NOT NULL`](not-null.html) constraints are managed through [`ALTER COLUMN`](alter-column.html).
{{site.data.alerts.end}}

{% include {{ page.version.version }}/sql/combine-alter-table-commands.md %}
Expand Down
13 changes: 12 additions & 1 deletion v19.2/alter-column.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ summary: Use the ALTER COLUMN statement to set, change, or drop a column's DEFAU
toc: true
---

The `ALTER COLUMN` [statement](sql-statements.html) is part of `ALTER TABLE` and sets, changes, or drops a column's [`DEFAULT` constraint](default-value.html) or drops the [`NOT NULL` constraint](not-null.html).
The `ALTER COLUMN` [statement](sql-statements.html) is part of `ALTER TABLE` and can be used to:
- Set, change, or drop a column's [`DEFAULT` constraint](default-value.html)
- Set or drop a column's [`NOT NULL` constraint](not-null.html)

{{site.data.alerts.callout_info}}
To manage other constraints, see [`ADD CONSTRAINT`](add-constraint.html) and [`DROP CONSTRAINT`](drop-constraint.html).
Expand Down Expand Up @@ -56,6 +58,15 @@ If the column has a defined [`DEFAULT` value](default-value.html), you can remov
> ALTER TABLE subscriptions ALTER COLUMN newsletter DROP DEFAULT;
~~~

### Set `NOT NULL` constraint

Setting the [`NOT NULL` constraint](not-null.html) specifies that the column cannot contain `NULL` values.

{% include copy-clipboard.html %}
~~~ sql
> ALTER TABLE subscriptions ALTER COLUMN newsletter SET NOT NULL;
~~~

### Remove `NOT NULL` constraint

If the column has the [`NOT NULL` constraint](not-null.html) applied to it, you can remove the constraint, which means the column becomes optional and can have *NULL* values written into it.
Expand Down
2 changes: 1 addition & 1 deletion v19.2/alter-table.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Subcommand | Description | Can combine with other subcommands?
-----------|-------------|------------------------------------
[`ADD COLUMN`](add-column.html) | Add columns to tables. | Yes
[`ADD CONSTRAINT`](add-constraint.html) | Add constraints to columns. | Yes
[`ALTER COLUMN`](alter-column.html) | Change or drop a column's [`DEFAULT` constraint](default-value.html) or drop the [`NOT NULL` constraint](not-null.html). | Yes
[`ALTER COLUMN`](alter-column.html) | Change or drop a column's [`DEFAULT` constraint](default-value.html) or [`NOT NULL` constraint](not-null.html). | Yes
[`ALTER TYPE`](alter-type.html) | Change a column's [data type](data-types.html). | Yes
[`CONFIGURE ZONE`](configure-zone.html) | [Configure replication zones](configure-replication-zones.html) for a table. | No
[`DROP COLUMN`](drop-column.html) | Remove columns from tables. | Yes
Expand Down
Loading