Previous Topic: %AttNullOption

Next Topic: %AttProp()

%AttPhysDatatype

Returns the physical datatype, including user-defined datatypes, of the current attribute.

Note: This macro is a legacy macro and is used for logical-only or combination logical/physical models. For any new physical-only models you need to use %ColumnPhysDatatype. For more information on legacy macros and their related new macros, see the topic "Legacy Macros."

Syntax

%AttPhysDatatype

Syntax Example

%ForEachAttribute() {

%AttName ->%AttPhysDatatype

}

Expansion

master-number -> int

movie-copy-number -> int

general-condition -> varchar(5)

Note: Returns a built-in datatype even if the attribute is attached to a user-defined datatype.

Usage

Classified as an Attribute macro.