Product Documentation

FairCom Direct SQL for C and C++

Previous Topic

Next Topic

ctsqlGetParameterType

Retrieve the parameter type.

Declaration

CTSQLTYPE ctsqlGetParameterType(pCTSQLCMD hCmd, INTEGER index)

Description

ctsqlGetParameterType() retrieves the parameter type.

  • hCmd the command handle.
  • index parameter number. Must be a number greater or equal zero, but less than parameter count.

Return

ctsqlGetParameterType() returns the type of parameter. Return 0 on error.

See Also

ctsqlGetParameterCount(), ctsqlGetParameterLength(), ctsqlGetParameterPrecision(), ctsqlGetParameterScale(), ctsqlGetParameterNullFlag()

TOCIndex