How can I glue two tables side by side?

If the tables have the same number of rows, you can use the function ^ (fill):

q)t: ([] x: `a`b; y: 1 2)
q)u: ([] z: "YN")
q)t ^ u / works only when count[t] = count[u] 
x y z
-----
a 1 Y
b 2 N
q)

kdbfaq

^fill

48 Words

2011-03-04 23:46 +0000