I am trying to get information from column_1 and column_2 for apptype CASPER and FOO. The script works fine when I search for just one or the other apptype. However, when use the 'or' statement to include both apptypes in one output, I get an error. I think it is just the 'kdb or' statement.
I don't have a KDB reference manual.
raze{[tradedate]
setdate tradedate;
`rootordid`clordid xasc
select from(
(select column_1, apptype, column_3, from orders where apptype like "CASPER" or "FOO")
)}each .utl.get_bdts[2017.12.04;2017.12.05]