Product Documentation

FairCom Direct SQL for C and C++

Previous Topic

Next Topic

ctsqlGetParameterScale

Retrieve the parameter scale.

Declaration

SMALLINT ctsqlGetParameterScale(pCTSQLCMD hCmd, INTEGER index)

Description

ctsqlGetParameterScale() retrieves the parameter scale. The parameter scale represents the number of decimal digits in a parameter.

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

Return

ctsqlGetParameterScale() returns the parameter scale.

See Also

ctsqlGetParameterCount(), ctsqlGetParameterLength(), ctsqlGetParameterType(), ctsqlGetParameterPrecision(), ctsqlGetParameterNullFlag()

TOCIndex