ESQL provides the following numeric operators:
SET OutputRoot.XML.Data.Age = (DATE '2005-03-31' - DATE '1947-10-24') YEAR TO MONTH;
In all cases, if either operand is NULL, the result is NULL. If the operands are of different types, special rules apply. These are described in Implicit casts.
For examples of how you can use these operators to manipulate datetime values, see Using numeric operators with datetime values.
Notices |
Trademarks |
Downloads |
Library |
Support |
Feedback
![]() ![]() |
ak01037_ |