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

Help Extracting Variable From Table

I'm trying to extract the value of a table search to a variable. var: select sum quantity from table;select statement returns a table.I've tried exec:var: exec sum quantity from table;but it seems this gives me the type instead of value.how would I g...

pj with uj-like semantics?

Hi,I wonder if there is a simpler way to write a pj with uj-like semantics?The behaviour of pj is more like an lj, keys on the L.H.S. are preserved and matching values from R.H.S. are added. More often than not, though, I need a pj with the semantics...

Flying by New Contributor III
  • 1214 Views
  • 2 replies
  • 0 kudos

Using \l Within Tickerplant Process

Hey Qbies, I have a file, engineFunctions.q, containing functions and a table that I want to load within a Tickerplant subprocess (in my cx.q file).I'm attempting to load the file as such:if[x~"ProcessName"; \l path/engineFunctions.q ] ^^ gives me `\...