These steps are part of the larger task of adding a column. When you complete the steps for specifying a built-in column, return to Adding a column.
To specify a built-in column's data type and default options:
For example, a CLOB column with a LOB unit of K Bytes, has a maximum column length of 1024 times the value specified in the Length field.
DB2 implicitly defines ROWID columns to be NOT NULL.
If you're adding this column when you are altering a table and you clear this check box to make this column non-nullable, you must also specify a non-nullable default for this column in the next step unless the column has the ROWID data type.
If you do not type a value in the Constant value field, the default value depends on the data type of the column.
If the column data type is CLOB, BLOB, or DBCLOB, do not specify a value in the Constant value field. The default value will be a zero-length string.
If you're adding this column when you are altering a table, the value for existing rows is that of the USER special register at the time that the table is altered.
If you're adding this column when you are altering a table, the value for existing rows is that of the SQLID special register at the time that the table is altered.
Do not specify NULL for a CLOB, BLOB, or DBCLOB column.
You cannot specify Default for a ROWID column.