Oracle® Objects for OLE Developer's Guide 11g Release 2 (11.2) for Microsoft Windows Part Number E17727-03 |
|
|
PDF · Mobi · ePub |
Subtracts an argument from the OraIntervalYM
object.
OraIntervalYMObj.Sub operand
The arguments for the method are:
Arguments | Description |
---|---|
[in ] operand |
A Variant of type String , a numeric value, or an OraIntervalYM object to be subtracted. |
The result of the operation is stored in the OraIntervalYM
object, overwriting any previous value. There is no return value.
If operand
is a Variant
of type String
, it must be in the following format: [+/-] YEARS-MONTHS.
If operand
is a numeric value, the value provided should represent the total number of years that the constructed OraIntervalYM
object represents.