« I understand white space matters in q code. Where does it matter? | Main | I know SQL and don’t care to learn q. Can I still get my work done while benefiting from kdb’s speed? »

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

PrintView Printer Friendly Version

EmailEmail Article to Friend

Reader Comments

There are no comments for this journal entry. To create a new comment, use the form below.

PostPost a New Comment

Enter your information below to add a new comment.

My response is on my own website »
Author Email (optional):
Author URL (optional):
Post:
 
All HTML will be escaped. Textile formatting is allowed.