ARTIClE
Static Native SQL
The example demonstrates the use of embedded static Native SQL .
ABAP_SOURCE_CODE
ABAP_EXEC
ABAP_DESCRIPTION
The program is the static equivalent of, for example,
ADBC . The name of the database
abap_docu_demo_mytab cannot be modified. Instead of passing the
SQL statements dynamically to methods of the class
CL_SQL_STATEMENT , they are specified statically between EXEC
and ENDEXEC . Attempts to insert rows that already exist are
caught using sy-subrc and the corresponding SQL exception
must be raised explicitly.
Documentation extract taken from SAP system, � Copyright SAP AG. All rights reserved