Product Documentation

FairCom Direct SQL for C and C++

Previous Topic

Next Topic

ctsqlGetColumnName

Retrieve the column name.

Declaration

CTSQLCHAR* ctsqlGetColumnName(pCTSQLCURSOR hCursor, INTEGER colnumber)

Description

ctsqlGetColumnName() retrieves the column name, given its number.

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

Return

ctsqlGetColumnName() returns the column name, or NULL if the column number is wrong or if there is any problem with the cursor handle.

See Also

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

TOCIndex