Creating a table
Use the Create Table notebook to create a table. When you create a table,
DB2 for OS/390 records a definition of the table in the DB2 for OS/390
catalog.
Authorities and privileges

To create a table:
-
Open the Create Table
notebook.
-
On the Table page, define the
table properties.
-
On the Columns page, click Add and
add
columns using the Add Column notebook.
-
Optional: On the Primary Key page, define
the primary key.
-
Optional: On the Unique Key page, click Add and
define
unique keys using the Add Unique Key window.
-
Optional: On the Foreign Key page, click Add and
add
foreign keys using the Add Foreign Key window.
-
Optional: On the Check Constraints page, click Add and
add check constraints
using the
Add Check Constraints window.

Related information