Product Documentation

FairCom Direct SQL for C and C++

Previous Topic

Next Topic

ctsqlGetColumnPrecision

Retrieve the column precision.

Declaration

SMALLINT ctsqlGetColumnPrecision(pCTSQLCURSOR hCursor, INTEGER colnumber)

Description

ctsqlGetColumnPrecision() retrieves the column precision. The column precision represents the total number of digits in a BCD number represented in a column.

  • hCursor the cursor handle.
  • colnumber the column number.

Return

ctsqlGetColumnPrecision() returns the column precision.

See Also

ctsqlGetColumnName(), ctsqlGetColumnNameLen(), ctsqlGetColumnCount(), ctsqlGetColumnLength(), ctsqlGetColumnType(), ctsqlGetColumnScale(), ctsqlGetColumnTitile()

TOCIndex