Oracle PL/SQL Tutorial/PL SQL Operators/Operator Precedence — различия между версиями

Материал из SQL эксперт
Перейти к: навигация, поиск
м (1 версия)
 
(нет различий)

Версия 13:45, 26 мая 2010

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.