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

Forum Posts

RE: [personal kdb+] hclose and .z.W

X-Originating-IP: 174.7.128.233User-Agent: Workspace Webmail 5.14.4Message-Id: <20150629115615.85f80dae80d1d2f2e266ec6278e6cbe8.2741a7efcd.wbe@email07.europe.secureserver.net>From: "David Demner \(AquaQ\)" To: personal-kdbplus@googlegroups.comSubject...

hclose and .z.W

Hello,As a client, I connect to a server inside a function, and based on some logic (let's say you exceeded # of connections you are allowed to have), the server force closes the client connection. From within the function, I want to know if the hand...

merc7791 by New Contributor
  • 347 Views
  • 0 replies
  • 0 kudos

Split a column of strings and enumerate them

I have a table that has a column of type string with a max width of 4. I want to split that string up into four separate columns representing each character and then enumerate them so that queries against the table are faster. So for example,t:([]str...

Union, intersection... for dicts

Hi,Was wondering if anyone had written (or q had built-in) an implementation for set operations on dictionaries like:q)a:`a`b!0 1;b:`y`z!8 9;c:`b`y!4 5q)UNION[a;c]a| 0b| 1 4y| 5q)0N!INTER[a;b](`symbol$())!`long$()... or maybe ..b| q) /DIFF/DROP ...i'...

effbiae by New Contributor
  • 453 Views
  • 1 replies
  • 0 kudos