Siebel Developer's Reference > Operators and Expressions > Operators >

Operator Precedence


Precedence is the order that Siebel CRM uses to evaluate the operators that a single expression contains. It evaluates higher precedence operators before it evaluates lower precedence operators. It evaluates operators that are equal in precedence from left to right.

You can use parentheses to modify the order of precedence that Siebel CRM uses to evaluate an expression. It evaluates the expression in the parentheses first, and then evaluates parts of the expression that reside outside of the parentheses.

Table 201 describes the levels of precedence. A lower level indicate higher precedence. For example, level 1 possess the highest precedence.

Table 201. Operator Precedence
Level
Operator

1

()

2

- (negation)

3

^ (exponentiation)

4

The following operators possess this level:

  • * (multiplication)
  • / (division)

5

The following operators possess this level:

  • + (addition)
  • - (subtraction)
  • NOT logical operator

6

AND logical operator.

7

OR logical operator.

8

Comparison operators. The following operators possess this level:

= (equal to)

<> (not equal to)

> (greater than)

< (less than)

>= (greater than or equal to)

<= (less than or equal to)

Siebel Developer's Reference Copyright © 2015, Oracle and/or its affiliates. All rights reserved. Legal Notices.