Specifies the schema of the table that you are creating. The initial value in this box is the user ID under which you connected to the database. To specify a schema with a name that is different than this ID, use one of these methods:

Type a name for the table that you are creating. This name can contain up to 128 characters and Can be an ordinary or delimited identifier.

Attention: This name must be unique within the table's schema. No other object in the schema can have the same name as the table.

Optional: Specifies the table space in which to create the table. To select a table space, click the down arrow to display a list of existing, REGULAR table spaces and select one.

If you do not specify a table space, either you have created a table space from your user ID, the table will be created in that table space, or no table space is found, the table will be created in the default table space, USERSPACE1.

You must specify a REGULAR DMS table space other than the default table space if you plan to specify a specific index table space or long data table space.

Optional: Specifies a table space in which to create any indexes on the table. Indexes can be stored in a different table space than the table itself. You might want to specify an index table space to improve performance for very large tables.

To select a table space in which to create indexes, click the down arrow to display a list of existing, REGULAR DMS table spaces and select one.

This field is available only if you specified a table space other than the default in the Table space box. If you do not specify an index table space, the indexes will be created in the same table space as the table.

Optional: Specifies the table space in which to store the values of any long columns. Long data can be LONG VARCHAR, LONG VARGRAPHIC, LOB data types, or distinct types with any of these as source types.

To select a table space for values of long columns, click the down arrow to display a list of existing, LONG DMS table spaces and select one.

This field is available only if you specified a table space other than the default in the Table space box. If you do not specify a long data table space, the long data will be created in the same table space as the table.

Lists of all of the columns defined for the table that you are creating. Use this box to view your column definitions or to select a column that you want to change, remove, or reorder. You can select a new column to change any field, remove the new column from the table, or reorder the new column among the other new columns. Click Add to add a column to this list.

Opens the Add Column window so you can add a new column to the table that you are creating.

You can add up to 500 columns to your table. The sum of the byte counts of the columns must not be greater than 4005.

Opens the Change Column window so that you can change an attribute of the column that is selected in the Columns box.

Removes from the box the column that is selected in the Columns box.

Moves the column that is selected in the Columns box up one position.

Moves the column that is selected in the Columns box down one position.

Type the name for the column that you are adding in this field. This name can contain up to 30 characters and be an ordinary or delimited identifier.

Attention: You cannot use the same name for more than one column of the table.

Specifies the length (byte count) of the columns based on the specified data type.

Specifies a multiplier for the length of columns of data type BLOB, CLOB, or DBCLOB.

This box is available only if you specified BLOB, CLOB, or DBCLOB in the Data type box.

Specifies the precision of a DECIMAL number. The precision is the total number of digits, which can range from 1 to 31. If you do not specify the precision, a default value of 5 is used.

This field is available only if you specified DECIMAL in theData type box.

Specifies the scale of a DECIMAL number. The scale is the number of digits to the right of the decimal point, which can range from zero (0) to the precision of the number. If you do not specify the scale, a default value of 0 is used.

This field is available only if you specified DECIMAL in theData type box.

Specifies that changes made to the column be written to the log. The data in such columns is then recoverable with database utilities, such as RESTORE DATABASE. The implication of not logging is that during a roll-forward operation after a backup or load operation, the LOB values that would have had log records replayed during the roll-forward are replaced by zeroes. During crash recovery, all committed changes and changes rolled back will reflect the expected results.
Note: LOBs greater than 1 GB cannot be logged, and LOBs greater than 10 MB should not be logged.

This check boxes is available only if you specified a data type of BLOB, CLOB, DBCLOB, or a distinct type with any of these as source types in the Data type box.

Specifies that the values in the LOB column should take up minimal disk space (free any extra disk pages in the last group used by the LOB value), rather than leave any left-over space at the end of the LOB storage area that might facilitate subsequent append operations.
Note: Storing data in this way can cause a performance penalty in any append (length-increasing) operations on the column.

This check boxes is available only if you specified a data type of BLOB, CLOB, DBCLOB, or a distinct type with any of these as source types in the Data type box.

Optional: Shows the contents of the column to be treated as bit (binary) data. During data exchange with other systems, code page conversions are not performed. Comparisons are done in binary, irrespective of the database collating sequence.

This check box is available only if you specified a data type of CHARACTER, VARCHAR, or LONG VARCHAR in the Data type box.

Optional: Specifies a default value for the column. Type the constant value, CURRENT DATE, CURRENT TIME, CURRENT TIMESTAMP, USER, or NULL in this field. The default value that you type will be used exactly as entered. For example, if you put double quotes around the value you type in, the double quotes will be part of the default value. If you do not specify a specific default value, the default value depends on the data type of the column. See the online help for more information.

Allows the column to contain null values. The default value for the column is either the null value or, if the Default check box is checked, the value specified in the Default field.

Attention: If the column will be a primary key column, it cannot be nullable.

Optional: Type a comment to document the column that you are adding. You can type up to 254 characters, including embedded blanks.

Adds the new column that you just defined. You can add multiple columns before closing the Add Column window.

You can add up to 500 columns to your table. The sum of the byte counts of the columns must not be greater than 4005.

Closes the Add Column window and return to the Columns page of the Create Table notebook. Any changes you made that you did not add are not saved. You can add multiple columns before clicking the Close push button.

This field displays the name currently specified for the column. To specify a different name, type the new name for the column in this field. This name can contain up to 30 characters and be an ordinary or delimited identifier

Attention: You cannot use the same name for more than one column of the table.

Contains the data type currently specified for the column. To specify a different data type, click the down arrow to display a list of data types and select one.

Displays the length (byte count) currently specified for the column. To specify a different length, type a value in this field based on the specified data type. See the online help for more information.

This box is available only if you specified BLOB, CLOB, or DBCLOB in the Data type box.

Displays the precision currently specified for the column of data type DECIMAL. To change the precision, type a new value in this field. The precision is the total number of digits in a DECIMAL number, which can range from 1 to 31. If you do not specify the precision, a default value of 5 is used.

This field is available only if you specified DECIMAL in theData type box.

Displays the scale currently specified for the column of data type DECIMAL. To change the scale, type a new value in this field. The scale is the number of digits to the right of the decimal point, which can range from zero (0) to the precision of the number. If you do not specify the scale, a default value of zero (0) is used.

This field is available only if you specified DECIMAL in theData type box.

Displays the LOB option currently selected for the column of LOB data types. To change the LOB option, select or clear this check box.

If selected, specifies that changes made to the column be written to the log. The data in such columns is then recoverable with database utilities, such as RESTORE DATABASE. The implication of not logging is that during a roll-forward operation after a backup or load operation, the LOB values that would have had log records replayed during the roll-forward are replaced by zeroes. During crash recovery, all committed changes and changes rolled back will reflect the expected results. Note:LOBs greater than 1 GB cannot be logged, and LOBs greater than 10 MB should not be logged.

This check boxes is available only if you specified a data type of BLOB, CLOB, DBCLOB, or a distinct type with any of these as source types in the Data type box.

Displays the LOB option currently selected for the column of LOB data types. To change the LOB option, select or clear this check box.

If selected, specifies that the values in the LOB column should take up minimal disk space (free any extra disk pages in the last group used by the LOB value), rather than leave any left-over space at the end of the LOB storage area that might facilitate subsequent append operations. Note:Storing data in this way can cause a performance penalty in any append (length-increasing) operations on the column.

This check boxes is available only if you specified a data type of BLOB, CLOB, DBCLOB, or a distinct type with any of these as source types in the Data type box.

Displays current for the column. You can select or clear this check box to change the setting. If you select this check box, the contents of the column will be treated as bit (binary) data. During data exchange with other systems, code page conversions are not performed. Comparisons are done in binary, irrespective of the database collating sequence.

This check box is available only if you specified a data type of CHARACTER, VARCHAR, or LONG VARCHAR in the Data type box.

Displays the default value currently specified for the column. To change the default value, type the constant value, CURRENT DATE, CURRENT TIME, CURRENT TIMESTAMP, USER, or NULL in this field. The default value that you type will be used exactly as entered. For example, if you put double quotes around the value you type in, the double quotes will be part of the default value. If you do not specify a specific default value, the default value depends on the data type of the column.

Displays as current for the column. You can select or clear this check box to change the setting. If you select this check box, the column can contain null values. The default value for the column is either the null value or the value specified in the Default field.

Attention: If the column will be a primary key column, it cannot be nullable.

Optional: Contains the comment currently specified for the column. To change the comment, type the new comment in this field. You can type up to 254 characters, including embedded blanks.

Lists all of the columns defined for the table that are not currently defined as primary key columns. Use this box to select the column or columns that you want to define as primary key columns and then click the > push button. You can select one or more columns at the same time.

You can define up to 16 columns to be primary key columns. The sum of their length attributes must not exceed 255 bytes.

Attention: You cannot define columns of data type LOB, LONG VARCHAR, or LONG VARGRAPHIC to be primary key columns.

Lists all of the columns defined as primary key columns. The order of the columns in this list is significant because the database manager uses the primary key for efficient access to table data.

Use this box to view the list of primary key columns or to select a column or columns to remove from the list with the < push button.

To add a column to this list, select a column from the Available columns box and then click the > push button.

Use these push buttons to change the list of columns displayed in the Available columns and Primary key columns boxes. You can use:

>
To move the selected columns in the Available columns box to the Primary key columns box.

>>
To move all columns displayed in the Available columns box to the Primary key columns box.

<
To move the selected columns in the Primary key columns box to the Available columns box.

<<
To move all columns displayed in the Primary key columns box to the Available columns box.

Lists all of the columns defined for the table that are not currently defined as partitioning key columns. Use this box to select the columns that you want to define as partitioning key columns and then click the > push button.

Attention: You cannot define columns of data type LOB, LONG VARCHAR, or LONG VARGRAPHIC to be partitioning key columns.

Lists all of the columns defined as partitioning key columns. The order of the columns in this list is significant because the database manager uses the partitioning key for efficient access to table data.

Use this box to view the list of partitioning key columns or to select columns that you want to remove from the list with the < push button.

To add a column to this list, select a column from the Available columns box and then click the > push button.

Use these push buttons to change the list of columns displayed in the Available columns and Partitioning key columns boxes. You can use:

>
To move the selected columns in the Available columns box to the Partitioning key columns box.

>>
To move all columns displayed in the Available columns box to the Partitioning key columns box.

<
To move the selected columns in the Partitioning key columns box to the Available columns box.

<<
To move all columns displayed in the Partitioning key columns box to the Available columns box.

Lists all of the categories of predefined columns. Use this box to select a column category from which you want to choose a predefined column to add to your table.

Lists all of the predefined columns in the category that you selected in the Column categories box. Use this box to select the predefined column or columns that you want to add to your table. You can select one or more predefined columns at the same time.

Lists all of the predefined columns to add to your table. To add a predefined column to this box, select it in the Predefined columns box and click the > push button.

Optional: Contains the name of the column selected in the Columns to create box. To change the column name, type a new name or edit the existing name. This name can contain up to 30 characters and be an ordinary or delimited identifier

Attention: You cannot use the same name for more than one column of the table.

Use these push buttons to change the list of columns displayed in the Columns to create box. You can use:

>
To copy the selected column in the Predefined columns box to the Columns to create box.

>>
To copy all columns displayed in the Predefined columns box to the Columns to create box.

<
To remove the selected column from the Columns to create box.

<<
To remove all columns from the Columns to create box.

Opens the Change Column Categories window so that you can add a new column category; change a column category name; delete a column category; and add, change, or remove a column from a column category.

Lists the existing column categories. Select the column category you want to add, change, or remove.

Contains the name currently specified for the column category that you are editing. To specify a different name, type a new name in the field.

Lists all of the columns defined for the column category that you selected in the Category name box. Use this box to view the column definitions or to select a column that you want to change, remove, or reorder. Click Add to add a column to this list.

Adds a new list of columns with the name specified in the Category name field.

Changes the name of the selected column category to the name specified in the Category name field.

Removes the selected column category. The category name and all columns in the category are removed from theColumn categories box.

Opens the Add Column window so that you can add a new column to the column category that you selected in the Category name box.

Opens the Change Column window so that you can change an attribute of the column that is selected in the Columns box.

Removes from the box the column that is selected in the Columns box.

Moves the column that is selected in the Columns box up one position.

Moves the column that is selected in the Columns box down one position.

Type the name of the file that will contain warning and error messages that occur during export. If you do not type the full path, the current directory and default drive are used. If the file already exists, the information is appended. If you do not specify a message file, an error is returned.

Adds objects, such as files and columns, to the list box. The Add window opens.

Type the path to the large object file into this field.

The LOB path specifies the path or paths to store the LOB files. When file space is exhausted on the first path, the second path is used, and so on.

When LOB files are created during an export, they are constructed by appending the current base name (specified in the File name of large object (LOB) field) to the current path. A 3-digit sequence number is then appended to the file. For example, if the current LOB path is the directory /U/FOO/LOB/PATH, and the current LOB file name is BAR, then the LOB files created will be /U/FOO/LOB/PATH/BAR.001, /U/FOO/LOB/PATH/BAR.002, and so on.

Adds the item you entered in this window to the list box on the previous notebook page.

After you click the Add push button, the Add window remains open so you can add more items.

Closes the window and return to the notebook.

Type a base file name into this field.

The file name specifies the base file name of the LOB files. When name space is exhausted for the first name, the second name is used, and so on.

When LOB files are created during an export, they are constructed by appending the current base name (specified in the File name of large object (LOB) field) to the current path. A 3-digit sequence number is then appended to the file. For example, if the current LOB path is the directory /U/FOO/LOB/PATH, and the current LOB file name is BAR, then the LOB files created will be /U/FOO/LOB/PATH/BAR.001, /U/FOO/LOB/PATH/BAR.002, and so on.

Type a new column name into this field. If you do not specify column names, the names in the existing table are used. This name can contain up to 30 characters and be an ordinary or delimited identifier.

Attention: You cannot use the same name for more than one column of the table.

Revokes all privileges that the selected users or groups hold on the selected table.

When you click Revoke All, the columns for the privileges that you are revoking, check marks change to Xs framed by corner brackets. The brackets indicate that the revocation that you requested is pending. The boxes for the privileges that you are revoking specify No.

Grants all privileges to the selected users or groups whatever privileges they do not hold on the selected table. Grant All also provides the Grant option -- the right to grant a privilege to other users and groups -- on all privileges except CONTROL.

When you click Grant All:

Indicates whether the selected users or groups hold the SELECT privilege, with the Grant option, on the selected table. To change the box's setting, click the down arrow and select the setting that you want. You can select:

Yes
Grants the SELECT privilege without the Grant option (the right to grant the SELECT privilege on the selected table to other users and groups). If a user or group already has the SELECT privilege with the Grant option, Yes revokes the privilege and re-grants it without the option.

No
Revokes the SELECT privilege.

Grant
Grants the SELECT privilege with the Grant option. If the user or group already has SELECT without the Grant option, Grant provides the option.

Indicates whether the selected users or groups hold the INSERT privilege, with the Grant option, on the selected table. To change the box's setting, click the down arrow and select the setting that you want. You can select:

Yes
Grants the INSERT privilege without the Grant option (the right to grant the INSERT privilege on the selected table to other users and groups). If a user or group already has the INSERT privilege with the Grant option, Yes revokes the privilege and re-grants it without the option.

No
Revokes the INSERT privilege.

Grant
Grants the INSERT privilege with the Grant option. If a user or group already has INSERT without the Grant option, Grant provides the option.

Indicates whether the selected users or groups hold the UPDATE privilege, with the Grant option, on the selected table. To change the box's setting, click the down arrow and select the setting that you want. You can select:

Yes
Grants the UPDATE privilege without the Grant option (the right to grant the UPDATE privilege on the selected table to other users and groups). If a user or group already has the UPDATE privilege with the Grant option, Yes revokes the privilege and re-grants it without the option.

No
Revokes the UPDATE privilege.

Grant
Grants the UPDATE privilege with the Grant option. If a user or group already has UPDATE without the Grant option, Grant provides the option.

Indicates whether the selected users or groups hold the DELETE privilege, with the Grant option, on the selected table. To change the box's setting, click the down arrow and select the setting that you want. You can select:

Yes
Grants the DELETE privilege without the Grant option (the right to grant the DELETE privilege on the selected table to other users and groups). If a user or group already has the DELETE privilege with the Grant option, Yes revokes the privilege and re-grants it without the option.

No
Revokes the DELETE privilege.

Grant
Grants the DELETE privilege with the Grant option. If a user or group already has DELETE without the Grant option, Grant provides the option.

Indicates whether the selected users or groups hold the CONTROL privilege on the selected table. To change the box's setting, click the down arrow and select the setting that you want. You can select:

Yes
Grants the CONTROL privilege.

No
Revokes the CONTROL privilege.

Indicates whether the selected users or groups hold the ALTER privilege, with the Grant option, on the selected table. To change the box's setting, click the down arrow and select the setting that you want. You can select:

Yes
Grants the ALTER privilege without the Grant option (the right to grant the ALTER privilege on the selected table to other users and groups). If a user or group already has the ALTER privilege with the Grant option, Yes revokes the privilege and re-grants it without the option.

No
Revokes the ALTER privilege.

Grant
Grants the ALTER privilege with the Grant option. If a user or group already has ALTER without the Grant option, Grant provides the option.

Indicates whether the selected users or groups hold the INDEX privilege, with the Grant option, on the selected table. To change the box's setting, click the down arrow and select the setting that you want. You can select:

Yes
Grants the INDEX privilege without the Grant option (the right to grant the INDEX privilege on the selected table to other users and groups). If a user or group already has the INDEX privilege with the Grant option, Yes revokes the privilege and re-grants it without the option.

No
Revokes the INDEX privilege.

Grant
Grants the INDEX privilege with the Grant option. If a user or group already has INDEX without the Grant option, Grant provides the option.

Indicates whether the selected users or groups hold the REFERENCES privilege, with the Grant option, on the selected table. To change the box's setting, click the down arrow and select the setting that you want. You can select:

Yes
Grants the REFERENCES privilege without the Grant option (the right to grant the REFERENCES privilege on the selected table to other users and groups). If a user or group already has the REFERENCES privilege with the Grant option, Yes revokes the privilege and re-grants it without the option.

No
Revokes the REFERENCES privilege.

Grant
Grants the REFERENCES privilege with the Grant option. If a user or group already has REFERENCES without the Grant option, Grant provides the option.

OS/2 only: Specifies that the optional end-of-file character x'1A' is not to be recognized as the end of the file. It will be seen as a normal character.

Contain the type of delimiters you can use for your data. To change the type, click the down arrow to display a list of valid delimiters and select one, or type another delimiter into the box.

The delimiters you can change are:

Column
Specifies a character that signals the end of a column.

Character string
Specifies a character that encloses character strings.

Decimal point
Specifies a character that signifies a decimal point.

Changes the object selected in the list box. The Change window opens.

Adds column names into the Column names box. The Add window opens.

Type a name for the column that you are creating. This name can contain from 1 to 18 characters and be an ordinary or delimited identifier.

Attention: You cannot use the same name for more than one column of the table.

Loads large object (LOB) data from the data files specified in the LOB paths box.

Lists the path names to the data files that contain the large object (LOB) data to be loaded. Use the Add push button to add a path name to this box. You can also select a path name to be changed, removed, or rearranged.

The names of the LOB data files are stored in the data file column that will be loaded into the table's LOB column.

This box is available only when the Retrieve large objects (LOBs) from the specified paths (LOBSINFILE) check box is selected.

Opens the Add window so you can add the name of a LOB path to the LOB paths box.

The new entry is added to the list following the entry that is currently selected. If no entry is selected, the new entry is appended to the list.

Opens the Change window so you can change the name of the selected LOB path in the LOB paths box.

This push button is available only when a name is selected in the LOB paths box.

Removes the selected LOB path names from the LOB paths box. (The actual LOB files are not removed from the system.)

This push button is available only when one or more names are selected in the LOB paths box.

Moves up one position the name of the selected LOB path in the LOB paths box.

This push button is available only when a name is selected in the LOB paths box.

Moves down one position the name of the selected LOB path in the LOB paths box.

This push button is available only when a name is selected in the LOB paths box.

Specifies that the optional end-of-file character

x'1A'

is not to be recognized as the end of the file. It will be seen as a normal character.

Stops DB2 from issuing warnings when rows are rejected during the load process.

Specifies that the location of an implied decimal point is determined by the column definition, and is not at the end of the value. For example, the value 12345 is loaded into a DECIMAL(0,2) column as 123.45 and not 12345.00.

Specifies that if an input value is missing for a particular table column and that table column has a default defined on it, the default value will be inserted in place of the missing value.

Enhances performance of the load utility by reducing the amount of data checking that is done on user-supplied column values. Even with the reduced amount of data checking, the loaded table is guaranteed to be architecturally correct and the load utility is guaranteed to perform sufficient data checking to prevent a segmentation violation or trap. Data that is in a correct form will be loaded correctly.

Contains the percentage of each data space that is to be left as free space. To change this percentage, select the up or down arrows to spin through the available choices, or type in a value.

For example, if you specify 50, then 50% of each data page is left as free space. The default value of 0 specifies that no space in each data page will be specifically left as free space.

If you specify an invalid value because of the minimum row size (for example, a row that is at least 3000 bytes long and a page free space of 50), the row will be placed on a new page. If you specify 100, each row will reside on a new page.

Contains the percentage of the total pages in the table that is to be appended to the end of the table as free space. To change this percentage, select the up or down arrows to spin through the available choices, or type in a value.

For example, if you select 20 and the table has 50 pages, then 10 additional empty pages will be appended. The total number of data pages for the table will be 60.

The default of 0 specifies that free space will not be appended to the end of the table.

Loads data into the table column displayed in the Table column field of the Change window.