ARTIClE
ADBC, DDL, and DML
This example demonstrates the use of the DDL
and DML statements with ADBC .
ABAP_SOURCE_CODE
ABAP_EXEC
ABAP_DESCRIPTION
This program makes it possible to create a database table whose name can
be chosen by the user. One hundred rows can be inserted in the database
table, individual rows can be read, and the database table can be
deleted. The Native SQL statements are passed to methods of the
class CL_SQL_STATEMENT using
string expressions .
Any exceptions are handled. When rows are exported, quotation marks are
escaped in the user input. This prevents
SQL injections .
Documentation extract taken from SAP system, � Copyright SAP AG. All rights reserved