7

I have to use not like operation in KDB + query but do not know how exactly to use it. I am able to use like operator i.e. http://kdbserver:8001/?select from orderDetails where symbol like "X*" this query successfully gives the results.

How to use/implement not like for same query ?

3 Answers 3

12

select from orderDetails where not symbol like "X*"

Sign up to request clarification or add additional context in comments.

Comments

0

For selecting the orders which are not like any of the patterns e.g. selecting the orders which are neither X* nor *Z

select from orderDetails where not any symbol like/:("X*";"*Z")

Comments

0

In kdb, select col1, col2 from tabel where cond, cond should be a boolean list. like return a boolean list and not can flip a boolean list

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.