ABAP - Keyword Documentation →  ABAP - Reference →  Processing External Data →  ABAP Database Accesses →  Native SQL →  ADBC - ABAP Database Connectivity → 


The CL_SQL_STATEMENT class contains instance methods that receive and execute dynamically created SQL statements.

Instances of the CL_SQL_STATEMENT class can be created using the statement CREATE OBJECT or the instance operator NEW, which allow a reference to an object of the CL_SQL_CONNECTION class to be passed to the constructor. If no database connection is passed, the standard connection from the database interface to the standard AS ABAP database is used.


ADBC - DDL and DML Statements
ADBC - Queries
ADBC - Stored Procedures