In a model based on a Teradata target server, you use the two Teradata tabs in the Columns dialog or the Domain Dictionary dialog to manage the datatype, null option, default value, and other properties for the selected column.
Note: An asterisk next to any property indicates that the property value is derived from domain inheritance or a macro.
To define Teradata column properties
The Columns dialog opens.
Lets you select a datatype from the list to change the datatype of the selected column. If the selected datatype requires a value for precision, scale, or both, enter the value inside the datatype parentheses. For example, you can select the DECIMAL() datatype and specify a precision of 2 and a scale of 10 inside the parentheses, to assign the datatype DECIMAL(2,10) to the selected column.
Specify a null option for the selected column.
Enter an estimated average width for the column if the option is available (not dimmed). You can later use the Volumetrics dialog to calculate table and database size estimates based on these and other values.
Enter the estimated percentage of nulls used for that column if the option is available. For example, you can estimate a variable width ADDRESS 2 column assigned a width of 50 characters, to be NULL about 30 percent of the time. Use whole numbers. You can later use the Volumetrics dialog to calculate table and database size estimates based on these and other values.
Select this option to reduce the amount of physical storage space occupied by a column that contains a large number of nulls, zeros, blanks, or the specified constant. Enter the constant you want to compress in the text box opposite the COMPRESS check box. You cannot compress columns that are components of a primary index.
Lets you assign a display format. The display format controls how data appears in Teradata applications. For example, dd-mmm-yy displays a date value as 01-May-07. For CHAR(n) datatypes, if you do not specify a format, the format is automatically generated as X(n), where n is the number of characters defined in the datatype. Click the
button to open the Display Formats dialog.
Lets you enter a name (up to 60 characters) that identifies the column values in Teradata applications. By default, the column name with a colon appended is inserted (for example, customer_name:).
Select this check box to specify whether column values should be stored exactly as entered or be automatically converted to uppercase characters. This check box appears only if the datatype for the selected column is CHAR, VARCHAR(n), or LONG VARCHAR. Select Casespecific to store the value for a column exactly as it is entered, or select Uppercase to store the value for a column in uppercase.
Lets you define a character set.
Teradata column properties are defined and the Columns dialog closes.
| Copyright © 2011 CA. All rights reserved. | Email CA Technologies about this topic |