Use the DB2 for LUW Table Editor to create a table, or work with table properties for an existing DB2 LUW table.
To define a DB2 LUW table
The DB2 for LUW Table Editor opens.
Note: Click New on the toolbar to create a table. Use the Enter filter text text box to filter a large list of names to locate the one you want to work with.
Specifies the physical name for the table.
Specifies the schema associated with the selected table. Select a schema from the drop-down list.
Specifies the table type. Select a value from the drop-down list: Permanent, Global Temporary, Nickname. The tabs on this dialog are enabled or disabled based on this value.
Specifies whether or not to use the CREATE or REPLACE command instead of the CREATE command during Forward Engineering. You can select this check box only if you selected the DB2 LUW Type as Nickname.
Note: This field applies to DB2 for LUW version 9.7 only.
In a Logical/Physical model, specifies that the table does not appear on the logical side as an entity.
Specifies whether or not to generate DDL for this object during Forward Engineering.
Note: This tab is displayed when you select the Is Dimensional check box on the General tab of the Model Editor.
Specifies the role assigned to the table for dimensional modeling. Select from the drop-down list; valid values are Fact, Dimension, and Outrigger.
Specifies the type of update you want to use to update dimensional notations. Select from the drop-down list; valid values are Fixed, Type 1, Type 2, and Type 3.
Note: This tab is displayed when you select the Data Movement check box on the General tab of the Model Editor.
Specifies whether or not the row format is used. For more information about value compression, see the IBM DB2 documentation.
Specifies whether or not data compression applies to the rows of the table. Select from the drop-down list; valid values are True and False.
Indicates whether extra information for data replication is written to the log. Valid Values: None, Changes, Changes (including long vars).
Indicates that the selected table has the restriction on drop. Clear the check box to remove the restriction on dropping the table and the tablespace that contain the table.
Specifies whether or not to log any index build operations on this table. Select from the drop-down list; valid values are True and False.
Specifies whether or not to log changes made by an Insert, Delete, Update, Create Index, Drop Index, or Alter Table operation in the same unit of work in which the table is created.
Specifies the granularity of locks used when the table is accessed. Valid Values are row, table, and block insert.
Specifies the encoding scheme for string data stored in the table. Valid Values are ASCII and UNICODE.
Specifies the security policy to associate with the selected table. Select a security policy from the drop-down list.
Specifies that index access should be used on this table wherever possible for SQL operations. Clear the check box to specify NOT VOLATILE.
Specifies that append processing is used for the selected table. Clear the check box to indicate APPEND NO.
Specifies the audit policy for the selected table. Select from the drop-down list.
Specifies the percentage of each page that you want to leave as free space.
For the Key Sequence Organization Type:
Specifies whether or not the range-clustered table allows rows with key values that are outside of the defined range of values.
Specifies the percentage of each page that you want to leave as free space.
Specifies a column of the table that is included in the unique key that determines the sequence of the range-clustered table.
Specifies the constant value at the lower end of the range for column-name.
Specifies the constant value at the higher end of the range for column-name.
For the Dimension Organization Type:
Specifies a dimension for each column or group of columns that you have used to cluster the table data.
Specifies the name of the tablespace where you want to store the table.
When selected, specifies that if the number of data partitions with no explicit tablespace exceeds the number of specified table spaces, the table spaces are assigned to data partitions in a round-robin fashion.
Specifies the tablespace where you want to store the values of long column.
Specifies the tablespace where you want any indexes on a nonpartitioned table or nonpartitioned indexes on a partitioned table to be created.
Specifies the default distribution method across database partitions.
Specifies the columns on which you want to use hash as the default distribution method.
Specifies the columns of the selected table that participate in the partition and whether nulls compare high or low.
Specifies the data range for the partition and the tablespace where you want to store the rows of the table in the specified data range.
You use the Table Options tab to identify the remote base table. Work with the following options
Specifies the name of the table option.
Specifies the setting for the table option.
Specifies the validation check constraint that you want to enforce on the selected table.
Specifies whether or not the validation is enforced on the selected table.
Specifies whether using the constraint for query optimization when appropriate is disabled.
Specifies the validation rule for the selected validation.
The DB2 for LUW Table Editor closes.
Copyright © 2012 CA. All rights reserved. | Tell Technical Publications how we can improve this information |