@@ -258,7 +258,7 @@ CREATE TABLE products (
258
258
even if the value came from the default value definition.
259
259
</para>
260
260
261
- <sect2>
261
+ <sect2 id="ddl-constraints-check-constraints" >
262
262
<title>Check Constraints</title>
263
263
264
264
<indexterm>
@@ -482,7 +482,7 @@ CREATE TABLE products (
482
482
</tip>
483
483
</sect2>
484
484
485
- <sect2>
485
+ <sect2 id="ddl-constraints-unique-constraints" >
486
486
<title>Unique Constraints</title>
487
487
488
488
<indexterm>
@@ -569,7 +569,7 @@ CREATE TABLE products (
569
569
</para>
570
570
</sect2>
571
571
572
- <sect2>
572
+ <sect2 id="ddl-constraints-primary-keys" >
573
573
<title>Primary Keys</title>
574
574
575
575
<indexterm>
@@ -1168,7 +1168,7 @@ CREATE TABLE circles (
1168
1168
here.
1169
1169
</para>
1170
1170
1171
- <sect2>
1171
+ <sect2 id="ddl-alter-adding-a-column" >
1172
1172
<title>Adding a Column</title>
1173
1173
1174
1174
<indexterm>
@@ -1212,7 +1212,7 @@ ALTER TABLE products ADD COLUMN description text CHECK (description <> '')
1212
1212
</tip>
1213
1213
</sect2>
1214
1214
1215
- <sect2>
1215
+ <sect2 id="ddl-alter-removing-a-column" >
1216
1216
<title>Removing a Column</title>
1217
1217
1218
1218
<indexterm>
@@ -1239,7 +1239,7 @@ ALTER TABLE products DROP COLUMN description CASCADE;
1239
1239
</para>
1240
1240
</sect2>
1241
1241
1242
- <sect2>
1242
+ <sect2 id="ddl-alter-adding-a-constraint" >
1243
1243
<title>Adding a Constraint</title>
1244
1244
1245
1245
<indexterm>
@@ -1267,7 +1267,7 @@ ALTER TABLE products ALTER COLUMN product_no SET NOT NULL;
1267
1267
</para>
1268
1268
</sect2>
1269
1269
1270
- <sect2>
1270
+ <sect2 id="ddl-alter-removing-a-constraint" >
1271
1271
<title>Removing a Constraint</title>
1272
1272
1273
1273
<indexterm>
0 commit comments