EXIT FROM SQL

Basic form

EXIT FROM SQL.

This statement is not allowed in an ABAP Objects context. See Subroutine call not allowed in EXEC SQL.

Effect

Leaves loop processing of the selected lines introduced by EXEC SQL PERFORMING form. The subroutine form is completed. Further processing of the block introduced by EXEC SQL and concluded by ENDEXEC is terminated.

Related

EXEC SQL

Additional help

Native SQL