Home How To Online Documentation Support Download Order

 

 

 

SACommand
SAConnection
SAException
SAField
SAParam

SAString
SADateTime
SANumeric

Enums and Typedefs

  

Usage

Class Members

Examples

SAValueRead::DataType

SADataType_t  DataType( ) const;

Returns SAValueRead object's data type.

Return values

One of the following SADataType_t enum values:

  • SA_dtUnknown    Data type is unknown.
  • SA_dtBool    Data type is C bool.
  • SA_dtShort    Data type is C short.
  • SA_dtLong    Data type is C long.
  • SA_dtDouble    Data type is C double.
  • SA_dtNumeric    Data type is SANumeric (used internally).
  • SA_dtDateTime    Data type is SADateTime.
  • SA_dtString    Data type is character string (SAString).
  • SA_dtBytes    Data type is binary string (SAString).
  • SA_dtLongBinary    Data type is long binary data (SAString).
  • SA_dtLongChar    Data type is long character data (SAString).
  • SA_dtBLob     Data type is BLob data (SAString).
  • SA_dtCLob     Data type is CLob data (SAString).
  • SA_dtCursor    Data type is Oracle REF CURSOR (SACommand).
  • SA_dtSpecificToDBMS    Data type is server-specific. 

Remarks

Use conversion methods (see below) to get the value of current object.

Server specific notes

No specific information.

See also

asBool, asShort, asLong, asDouble, asNumeric, asDateTime, asString, asBytes, asLongBinary, asLongChar, asBLob, asCLob, asCursor

SADataType_t

Problems and Questions

If you haven't found the answer to your questions or have some problems on using the Library, please, send e-mail to howto@sqlapi.com.