Please enable JavaScript.
Coggle requires JavaScript to display documents.
Open SQL (New Open SQL (Improvements over older Open SQL (Allows…
Open SQL
New Open SQL
Improvements
over older Open SQL
Limitations
Dropped
Max dbtab in JOIN
Flds of RHS dbtab
in WHERE clause of
LEFT OUTER JOIN
RIGHT OUTER JOIN
Only = in ON cond.
Persisting
Access to Native
HANA artifacts
UNION [ALL]
Allows
Arithmetic
Expr
MOD
+, -, *, DIV
ABS
CAST col AS FLTP
CEIL, FLOOR
String
Expr
&&
Conditional
Expr
CASE
COALESCE
Syntax Rules
Comma
separated col list
Escaping
Host Var
Implications
Stricter
syntax check
If one rule of new open sql adhered to,
other rules also to be adhered
Why Introduced?
To come closer
to SQL-92
Reduce necessity
to resort to
Native SQL
DB Dependent
What?
SQL-92-like
syntax
SQL-92
DML
Reflected
in ABAP
SELECT
INSERT
UPDATE
MODIFY
DELETE
DDL
Reflected
in ABAP
CDS
SP05 Onwards
DDIC
DCL
Not reflected
in ABAP
DB Abstraction
Layer