Skip to content

ABAP Keyword Documentation →  ABAP - Reference →  Processing External Data →  ABAP Database Accesses →  Open SQL →  Open SQL - Read Accesses →  SELECT →  SELECT - result →  SELECT - select_list →  SELECT - col_spec →  SELECT - sql_exp 

sql_exp - ( )

Other versions: 7.31 | 7.40 | 7.54

Syntax


... ( sql_exp ) ...

Every full SQL expression sql_exp can be enclosed in brackets ( ... ). There must be a blank after the opening parenthesis and before the closing parenthesis. Parenthesis specify the priority with which expressions are evaluated. Parenthesis levels are evaluated from inside out and from left to right. The result of a parenthesis is the result of the outermost expression in the parenthesis.


Note

Parentheses are used especially in arithmetic expressions to control the priority of calculations.