How do I delete a column from a table?

The delete command works for that, too. To remove a column named xyz from table t, use

delete xyz from `t // in place delete (backquote)
delete xyz from t  // returns a copy minus column xyz


This work is licensed under a Creative Commons License.
The views and opinions expressed herein are those of the authors and do not necessarily reflect those of any other person or legal entity.
Kdb+ is the registered trademark of Kx Systems, Inc.