Constant Class Property Descriptions
Property Name |
Description |
|
ConstantType |
The type of the constant. Valid values are: |
|
|
|
|
ConstantValue |
The value of the constant |
Values marked with * in the table are converted from constants to functions before being stored in the MDS repository, and become part of function class “BI” (built-in). Date, Time, Timestamp and Interval literals are stored as constant type SQUOTESTR (single quoted string).
The following notes apply to constants referenced by a view column and functions referenced by view columns, stored procedures, macros, and so on:
For example, when a view column references the standalone constant 10, or the expression of constants 10 + 20, then 10 or 10 + 20 is stored in the repository and associated with the view column.
When a constant is used as a function parameter, such as in the function log(5), the constant and function are stored in the repository and associated with the view column.
For example if a view column references table columns c1 + c2, both c1 and c2 are stored in the repository and associated with the view column.
Because operators are not stored in the repository, it is not possible to determine if a view column has two associated table columns because of an arithmetic operator such as (+) or a binary operator such as OR.