Warehouse Source View notebook - Fields and controls

Source View page

Columns page

Warehouse Primary Key page

Warehouse Foreign Keys page

Source View page

View schema

To specify a schema with a name that is different than this ID, use one of these methods:

Columns page

Use this page to add, change, or remove column definitions for a table.

Column name

Data type

Length

Precision

Scale

Allows nulls

Is text

Description

Column name

You can select a new column to change any field, remove the new column from the view, or reorder the new column among the other new columns.

Data type

Specify the data type of the column that you are adding. To specify the data type, click the down arrow to display a list of data types, and select one.

The data type can be one of:

Length

Specify the length (byte count) of the columns based on the specified data type:

CHARACTER

Length of the fixed-length character string, which can range from 1 to 254. The default is 10.

VARCHAR

Maximum length of the varying-length character string, which can range from 1 to 4000. The default is 10.

GRAPHIC

Length of the fixed-length graphic string, which can range from 1 to 127. The default is 0.

VARGRAPHIC

Maximum length of the varying-length graphic string, which can range from 1 to 2000. The default is 0.

BLOB

Maximum length of the BLOB string, which can range from 1 to 2 147 483 647. The default is 0.

CLOB

Maximum length of the CLOB string, which can range from 1 to 2 147 483 647. The default is 0.

DBCLOB

Maximum length of the DBCLOB string, which can range from 1 to 1 073 741 823 double-byte characters. The default is 0.

Precision

Use this field to specify the precision of a DECIMAL or NUMERIC 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 or NUMERIC in the Data type field.

Scale

Use this field to specify the scale of a DECIMAL or NUMERIC number. The scale is the number of digits to the right of the decimal point, which can range from 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 or NUMERIC in the Data type field.

Allow nulls

Select to allow the column to contain null values. The default value for the column is either the null value or the value specified in the Default field.

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

Is text

Select if the column will contain text. Enabled for the following data types:

Description

Optional: Type a description for the column. The description can have a maximum length of 200 characters.

Warehouse Primary Key page

Use this page to:

Available columns

Warehouse primary key columns

Available columns

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

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

Warehouse primary key columns

Use this list to view the warehouse primary key columns for the view or to select a column or columns to remove from the list with the < button.

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

Warehouse Foreign Keys page

Use this page to:

Before you begin, you must know the names of the warehouse primary keys and tables to which the warehouse foreign keys correspond. Warehouse foreign keys are used in a warehouse to document the relationships between facts and dimensions. These relationships are used in the warehouse for population and for usage, either by query tools or OLAP cubes.