Skip Headers

Oracle® Objects for OLE Developer's Guide
10g Release 1 (10.1)

Part Number B10118-01
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Master Index
Master Index
Go to Feedback page
Feedback

Sub (OraIntervalYM) Method

Applies To

OraIntervalYM

Description

Subtracts an argument from the OraIntervalYM object.

Arguments

[in] operand
A Variant of type String, a numeric value, or an OraIntervalYM to be subtracted.
Usage

OraIntervalYMObj.Sub operand

Remarks

The result of the operation is stored in the OraIntervalYM, 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 represents.