Ansicht
Dokumentation

ABENADBC_DML_DDL_ABEXA - ADBC DML DDL ABEXA

ABENADBC_DML_DDL_ABEXA - ADBC DML DDL ABEXA

SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.
SAP E-Book

- DDL and DML

This example demonstrates the use of the DDL and DML statements with ADBC.

Source Code

Execute

Description

This program makes it possible to create a database table whose name can be chosen by the user. After this, one hundred rows can be inserted into the database table, individual rows can be read, and the database table can be deleted again. The Native SQL statements are passed to methods of the class CL_SQL_STATEMENT using string expressions.

Any exceptions are handled. When reading rows, quotation marks are escaped in the user input to prevent an SQL injection.






Addresses (Business Address Services)   PERFORM Short Reference  
This documentation is copyright by SAP AG.

Length: 1007 Date: 20240424 Time: 153642     sap01-206 ( 21 ms )