DEFRECORD KDB_COLUMN

Structure of the column info returned by KI_COLUMNS
FLD namePack formatPurpose
COLUMN_ColumnName$CHAR(32)Column name
COLUMN_LabelName$CHAR(64)Long name for column
COLUMN_DataType$CHAR(16)SQL datatype
COLUMN_offsetUINT(2)Offset into row for column (counted from 1)
COLUMN_lengthUINT(2)length of column
COLUMN_precUINT(1)Precision
COLUMN_scaleUINT(1)Scale
COLUMN_occursUINT(1)Occurence count
COLUMN_typeUINT(1)Data type as an enum
COLUMN_NullableBOOLCan be NULL

More info