Defining Teradata Domains

The following properties are applicable to a Teradata Domain object.

Tab

Property

Description

Additional Information

  Physical Name Specifies the physical name of the domain  
Domain Parent Specifies the parent of the selected domain  
Physical Data Type Specifies the physical data type for the selected domain  
Generate as Udd Specifies whether the selected domain is generated as a user-defined domain  
Physical Only Specifies that the selected domain is only available in the physical model  
General Column Name Specifies the name of the column  

 

Teradata

Null Option

Specifies the usage of the NULL clause for the selected column

 

Average Width Specifies an estimated average width for the column, if variable width is allowed  
Percent Null Specifies an estimated percentage of nulls used for that column Use only whole numbers
Format Specifies the Teradata display format to use for the domain  
Title Specifies a name (up to 60 characters) to identify the column values in Teradata applications  
Compile Specifies the mode in which the domain should be compiled

Compile and Build: Indicates that the code source of the function is compiled and the library files (.so or .dll) are created and distributed to all nodes of the system

Compile Only: Indicates that the system only compiles the code source of the function

Column Compression Specifies whether to use column compression  
Compression Algorithm Specifies the algorithm to use for column compression Available when Column Compression is enabled
Decompression Algorithm Specifies the algorithm to use for column decompression
Ordering Mapping Type Specifies the type of ordering procedure

Specific Method: Indicates that a specific method is used for ordering

Instance Method: Indicates that an instance method is used for ordering

Specific Function: Indicates that a specific external function is used for ordering

Function: Indicates that an external function is used for ordering

Ordering Procedure Ref Specifies the reference ID of the function or method that is used to order on  
Ordering Do Not Generate Specifies whether this ordering is generated in a forward engineering operation  
Transform Group Name Specifies the transform group name  
Transform From Mapping Type Specifies how the transform is being performed Specific Method: Indicates that a specific method is used for the transform

Instance Method: Indicates that an instance method is used for the transform

Specific Function: Indicates that a specific external function is used for the transform

Function: Indicates that an external function is used for the transform

Transform From Procedure Ref Specifies the user defined type associated with the function/method used for the transform  
Transform To Mapping Type Specifies how the transform is being performed Specific Function: Indicates that a specific external function is used for the transform

Function: Indicates that an external function is used for the transform

Transform to Procedure Ref Specifies the function/method used for the transform  
Transform Do Not Generate Specifies whether the transform is generated in a forward engineering operation  
Character Set Type Specifies the type of character set to use

Available only if Physical Data Type is a Character data type. For example, CHAR, CHAR(), CHAR VARYING(), and CHARACTER.

Valid options are: Latin, Unicode, kanji-Shift JIS, and Graphic.

Character Case Specifies how Teradata considers the case of the values in database fields for the selected column during processing

Case-Specific: Indicates that Teradata considers the case of the value strings for processing

None, Not Case-Specific: Indicates that Teradata does not consider the case of value strings for processing

Upper Case Specifies whether to convert the column values to upper case  

Permission

 

Name

Specifies the permissions associated with the object

 

Generate

Specifies whether a DDL statement is generated for the permission object during forward engineering

 

Constraint

 

 

 

 

Include Inherited Constraints Specifies whether the validation rule is inherited from the column's domain  
Physical Name Specifies the name of the inherited validation rule to be attached to the selected column  
Validation Rule Specifies the validation rule to attach to the selected column  
Valid-Time Qualifier Specifies the valid-time qualifier to define temporal properties

Current Valid-Time: Indicates that the query applies to only data that is currently in effect

Sequenced Valid-Time: Indicates that the query applies to only data that is in effect for a specified time period

Non-Sequenced Valid-TIme: Indicates that the tables are treated as non-temporal, and valid-time dimension is ignored

Transaction-Time Qualifier Specifies the transaction-time qualifier to define temporal properties

Current Transaction-Time: Indicates that the query applies to only data that is currently open

Use Inherited Default Value Specifies whether the property is inherited from the column's domain  
Name Specifies the name of the default value to be attached to the selected column  
Default Specifies the default value to attach to the selected column