Ansicht
Dokumentation

ABENSQL_COND_SHORTREF - SQL COND SHORTREF

ABENSQL_COND_SHORTREF - SQL COND SHORTREF

ABAP Short Reference   BAL Application Log Documentation  
This documentation is copyright by SAP AG.
SAP E-Book

sql_cond

Reference



Syntax

... { {col1 {=|EQ|<>|NE|>|GT|<|LT|>=|GE|<=|LE}
              { {dobj}
              | {col2}
              | {[ALL|ANY|SOME] subquery} }}
    | {col [NOT] BETWEEN dobj1 AND dobj2}
    | {col [NOT] LIKE dobj [ESCAPE esc]}
    | {col [NOT] IN (dobj1, dobj2 ...)}
    | {col [NOT] IN seltab}
    | {col IS [NOT] NULL}
    | {(cond_syntax)}
    | {[NOT] EXISTS subquery}
    | {col [NOT] IN subquery} } ... .


Effect

Condition for the content of columns after the additions WHERE, ON, or HAVING in statements. The left-hand side can be specified as an SQL expression. Conditions can be put in parentheses explicitly, combined using AND and OR, and negated using NOT.

Additions

  • ALL$|ANY$|SOME
    Must be specified when the results of the subquery subquery has more than one line.
  • $[NOT$] BETWEEN
    Checks whether the content of the left side is in an interval.
  • IS $[NOT$] INITIAL
    Checks whether the content of the left side is the initial values of its built-in dictionary type.





Vendor Master (General Section)   BAL Application Log Documentation  
This documentation is copyright by SAP AG.

Length: 5004 Date: 20240424 Time: 174145     sap01-206 ( 43 ms )