21.01.2013 Views

QlikView Reference Manual.pdf - QlikCommunity - QlikView

QlikView Reference Manual.pdf - QlikCommunity - QlikView

QlikView Reference Manual.pdf - QlikCommunity - QlikView

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Relational Operators<br />

All relational operators compare the values of the operands and return true (-1) or false (0) as the result. All<br />

relational operators are binary.<br />

< Less than A numeric comparison is made if both operands can be interpreted<br />

numerically. The operation returns the logical value of the evaluation<br />

of the comparison.<br />

Greater than A numeric comparison is made if both operands can be interpreted<br />

numerically. The operation returns the logical value of the evaluation<br />

of the comparison.<br />

>= Greater than or<br />

equal<br />

A numeric comparison is made if both operands can be interpreted<br />

numerically. The operation returns the logical value of the evaluation<br />

of the comparison.<br />

= Equals A numeric comparison is made if both operands can be interpreted<br />

numerically. The operation returns the logical value of the evaluation<br />

of the comparison.<br />

Not equivalent to A numeric comparison is made if both operands can be interpreted<br />

numerically. The operation returns the logical value of the evaluation<br />

of the comparison.<br />

precedes ASCII less than Unlike the < operator no attempt is made to make a numeric interpretation<br />

of the argument values before the comparison. The operation<br />

returns true if the value to the left of the operator has a text<br />

representation which, in ASCII comparison, comes before the text<br />

representation of the value on the right.<br />

Example:<br />

' 11' precedes ' 2' returns true<br />

compare this to:<br />

' 11' < ' 2' returns false<br />

follows ASCII greater than Unlike the > operator no attempt is made to make a numeric interpretation<br />

of the argument values before the comparison. The operation<br />

returns true if the value to the left of the operator has a text<br />

representation which, in ASCII comparison, comes after the text<br />

representation of the value on the right.<br />

Example:<br />

' 23' follows ' 111' returns true<br />

compare this to:<br />

' 23' > ' 111' returns false<br />

285

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!