kdb+ and q
Q+A on all things kdb+ database and the q language
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

insert oddity

Consider any empty keyed table t; insert of another empty tablewith the appropriate structure (e.g., t itself) will fail with a typeerrorbut upsert will succeed. I am a bit nonplussed by this behaviour;what is the rationale?q)t:([a:0#0n];b:0#`)q)upse...

annakh71 by New Contributor
  • 0 replies
  • 0 kudos

Quering Complex Column Data

I am having trouble with searching for a value in a column which is oftype simple list.Here is the table schemacom:([id:()] l:())with sample data as`com upsert(1;1 2)`com upsert(2;3 4)`com upsert(5;6 7 8)and if i do select from com i getid| l--| ----...

bharani by New Contributor
  • 4 replies
  • 0 kudos

loading table with foreign keys

Received: by with SMTP id s15mr1681374anb.26.1249304565161; Mon, 03 Aug 2009 06:02:45 -0700 (PDT)Date: Mon, 3 Aug 2009 06:02:45 -0700 (PDT)X-IP: G2/1.0X-Google-Token: H9p8QQwAAAAqWRNxh1-Vl_Ie-jz7mgMrX-HTTP-Via: ...

bharani by New Contributor
  • 5 replies
  • 0 kudos

hdb creation

Received: by with SMTP id t2mr1671363ybn.1.1249301617653; Mon, 03 Aug 2009 05:13:37 -0700 (PDT)Date: Mon, 3 Aug 2009 05:13:37 -0700 (PDT)X-IP: G2/1.0X-Google-Token: aECvqwwAAACFuH89ujfFNUMcQWFjHbJXX-HTTP-Via: 1.1...

andyturk by New Contributor
  • 14 replies
  • 0 kudos

poll: k|q

Poll for experienced k/q programmers:1. Does k dominate your code vs q?2. Do you prefer k to q in general?3. Would you recommend a new user focus on k rather than q?In the spirit of k, please present responses as a boolean vector oflength 3 (e.g., 11...

k_os_tao by New Contributor
  • 7 replies
  • 0 kudos