Reference/cols

From Kx Wiki
Revision as of 09:31, 12 October 2009 by Chris Burke (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Contents

cols (columns function)

cols returns a symbol list of the column names of a table. The table can be passed by reference or by value.

Syntax

L:cols T

Example

q)\l trade.q
q)cols trade
 `time`sym`price`size
q)cols`trade
 `time`sym`price`size

See also


For a complete list of functions, see the kdb+ Function Reference.

Personal tools
Namespaces
Variants
Actions
Navigation
Print/export
Toolbox