Product Documentation

FairCom Direct SQL for C and C++

Previous Topic

Next Topic

ctsqlGetParameterPrecision

Retrieve the parameter precision.

Declaration

SMALLINT ctsqlGetParameterPrecision(pCTSQLCMD hCmd, INTEGER index)

Description

ctsqlGetParameterPrecision() retrieves the parameter precision. The parameter precision represents the total number of digits in a BCD number represented 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

ctsqlGetParameterPrecision() returns the parameter precision.

See Also

ctsqlGetParameterCount(), ctsqlGetParameterLength(), ctsqlGetParameterType(), ctsqlGetParameterScale(), ctsqlGetParameterNullFlag()

TOCIndex