Product Documentation

FairCom Direct SQL for C and C++

Previous Topic

Next Topic

ctsqlGetColumnNameLen

Retrieve the column name length.

Declaration

INTEGER ctsqlGetColumnNameLen(pCTSQLCURSOR hCursor, INTEGER colnumber)

Description

ctsqlGetColumnNameLen() retrieves the column name length, given the column number.

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

Return

ctsqlGetColumnNameLen() returns the length of the column name, or 0 in case of error (colnumber <0 or larger than the number of columns in the table).

See Also

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

TOCIndex