Data Types > Output Mode > Special Features
 
Special Features
The following special features of the Output Mode are described:
*Date As String
*Numeric As String
*Numeric As Object
Date As String
When the “date as string” feature is turned off, Rogue Wave DB Link automatically sets the column type to IldDateTimeType. As a consequence, it refuses to return the DATE, DATETIME, or TIMESTAMP value in string form and raises the error ILD_TYPE_MISMATCH.
See the functions IldIldBase::useStringDate and IldIldBase::setStringDateUse, for the IldRequest and IldDbms classes in the Rogue Wave DB Link Reference Manual for more information. (Functions common to those classes are documented in the IldIldBase class.)
Numeric As String
When the numeric as string feature is turned on, Rogue Wave DB Link retrieves the numeric-type value in string form. If the member function IldRequest::getColRealValue is inadvertently used to retrieve the column value, the result is unpredictable.
See the functions IldIldBase::useStringNumeric and IldIldBase::setStringNumericUse, for the IldRequest and IldDbms classes in the Rogue Wave DB Link Reference Manual for more information. (Functions common to those classes are documented in the IldIldBase class.)
Numeric As Object
When the numeric as object feature is turned on, Rogue Wave DB Link silently retrieves the numeric-type value in IlNumeric object form. If the function IldRequest::getColRealValue is inadvertently used to retrieve the column value, the result is unpredictable. The various features for numeric-type values retrieval are mutually exclusive.
See the functions IldIldBase::useNumeric and IldIldBase::setNumericUse, for the IldRequest and IldDbms classes in the Rogue Wave DB Link Reference Manual for more information. (Functions common to those classes are documented in the IldIldBase class.)

Version 5.8
Copyright © 2014, Rogue Wave Software, Inc. All Rights Reserved.