Oracle PL/SQL Tutorial/PL SQL Operators/Operator Precedence

Материал из SQL эксперт
Версия от 13:08, 26 мая 2010; Admin (обсуждение | вклад) (1 версия)
(разн.) ← Предыдущая | Текущая версия (разн.) | Следующая → (разн.)
Перейти к: навигация, поиск

PL/SQL Operator Precedence

Operator Description

Exponentiation +, - Identity, negation (unary operation)

  • , /

Multiplication, division +, -, || Addition, subtraction, concatenation =, <, >, < =, > =, <>, !=, ~= IS NULL, LIKE, BETWEEN, IN Comparison NOT Logical negation AND Conjunction OR Inclusion

Operations with higher precedence are applied first.

Operators with the same precedence are applied in their text order:

You can change the execution order by using parentheses.

If the expression includes parentheses, the execution starts with the innermost pair.