Previous Topic: %DomainCommentNext Topic: %DomainDef


%DomainDatatype

Returns the physical datatype of the domain.

Note: This macro is a legacy macro. Depending on your model type, we recommend that you use either %DomainPhysDatatype or %DomainLogDatatype for new models. For more information on legacy macros and their related new macros, see the topic "Legacy Macros".

Syntax

%DomainDatatype(<domain name>) or %DomainDatatype

Syntax Example

%ForEachDomain() {

%DomainName

%DomainDatatype

}

Expansion

varchar(10, int, char

Usage

Classified as a Constraint macro that you can use globally with an argument %DomainDatatype(<domain name>) or %DomainDatatype within the scope of a domain (for example, %ForEachDomain).