dextererer
dextererer

Reputation: 75

llblgen AND-OR operators presendence AND-OR

I want to generate the llblgen form of sql statement below

select * from sometable where

c1=4 AND (  c2 <> 'true' OR c2 IS NULL )

But I can't get the exact filter option operator AND has presendence over opeator OR so I'm confused.

Upvotes: 1

Views: 803

Answers (1)

David Elizondo
David Elizondo

Reputation: 1153

You can use parenthesis in your PredicateExpression. You also can use separate Predicates and mix them as you want.

This is the relevant info about this in the LLBLGenPro Documentation: Constructing Predicate Expressions

Upvotes: 2

Related Questions