Product Documentation

FairCom Direct SQL for C and C++

Previous Topic

Next Topic

ctsqlGetColumnScale

Retrieve the column scale.

Declaration

SMALLINT ctsqlGetColumnScale(pCTSQLCURSOR hCursor, INTEGER colnumber)

Description

ctsqlGetColumnScale() retrieves the column scale. The column scale represents the number of decimal digits in a column.

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

Return

ctsqlGetColumnScale() returns the column scale

See Also

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

TOCIndex