These steps are part of the larger task of adding a column. When you complete the steps for specifying a distinct-type column, return to adding a column.
To specify a column based on a distinct (user-defined) type:
The length and scale of the column are respectively the length and scale of the source type of the distinct type.
The encoding scheme of the distinct type must be the same as the encoding scheme of the table. The subtype, if any, for the distinct type, is the subtype with which the distinct type was created.
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 distinct type is sourced on ROWID.
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 distinct type is based on the CLOB, BLOB, or DBCLOB data type, 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 distinct type based on the CLOB, BLOB, or DBCLOB data type.
A cast function is a function used to convert instances of a (source) data type into instances of a different (target) data type. In general, a cast function has the name of the target data type.