what is the difference between open sql and native sql in sap abap?
Native SQL allows you to use database-specific SQL statements in an ABAP/4 program. ... Open SQL consists of a set of ABAP statements that perform operations on the central database in the R/3 system. The results of the operations and any error messages are independent of the database system in use.