Home How To Online Documentation Support Download Order

 

 

 

SACommand
SAConnection
SAException
SAField
SAParam

SAString
SADateTime
SANumeric
SAInterval

Enums and Typedefs

  

Usage

Class Members

Examples

SAParam::setParamType

void setParamType( SADataType_t eParamType );

Sets parameter's data type.

Parameters

eParamType.    One of the following values from SADataType_t enum:

  • 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

Normally you should not call this method explicitly. The Library automatically detects parameter's data type and implicitly creates an appropriate SAParam object.

Server specific notes

No specific information.

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.