DEFRECORD KDB_COLUMN
Structure of the column info returned by KI_COLUMNS| FLD name | Pack format | Purpose |
|---|---|---|
| COLUMN_ColumnName$ | CHAR(32) | Column name |
| COLUMN_LabelName$ | CHAR(64) | Long name for column |
| COLUMN_DataType$ | CHAR(16) | SQL datatype |
| COLUMN_offset | UINT(2) | Offset into row for column (counted from 1) |
| COLUMN_length | UINT(2) | length of column |
| COLUMN_prec | UINT(1) | Precision |
| COLUMN_scale | UINT(1) | Scale |
| COLUMN_occurs | UINT(1) | Occurence count |
| COLUMN_type | UINT(1) | Data type as an enum |
| COLUMN_Nullable | BOOL | Can be NULL |