@@ -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>
@@ -1157,7 +1157,7 @@ CREATE TABLE circles (
1157
1157
here.
1158
1158
</para>
1159
1159
1160
- <sect2>
1160
+ <sect2 id="ddl-alter-adding-a-column" >
1161
1161
<title>Adding a Column</title>
1162
1162
1163
1163
<indexterm>
@@ -1201,7 +1201,7 @@ ALTER TABLE products ADD COLUMN description text CHECK (description <> '')
1201
1201
</tip>
1202
1202
</sect2>
1203
1203
1204
- <sect2>
1204
+ <sect2 id="ddl-alter-removing-a-column" >
1205
1205
<title>Removing a Column</title>
1206
1206
1207
1207
<indexterm>
@@ -1228,7 +1228,7 @@ ALTER TABLE products DROP COLUMN description CASCADE;
1228
1228
</para>
1229
1229
</sect2>
1230
1230
1231
- <sect2>
1231
+ <sect2 id="ddl-alter-adding-a-constraint" >
1232
1232
<title>Adding a Constraint</title>
1233
1233
1234
1234
<indexterm>
@@ -1256,7 +1256,7 @@ ALTER TABLE products ALTER COLUMN product_no SET NOT NULL;
1256
1256
</para>
1257
1257
</sect2>
1258
1258
1259
- <sect2>
1259
+ <sect2 id="ddl-alter-removing-a-constraint" >
1260
1260
<title>Removing a Constraint</title>
1261
1261
1262
1262
<indexterm>
0 commit comments