What is the difference between open sql & native sql ?

Answers were Sorted based on User's Feedback

Answer / manikandan

native sql : are not checked and converted they are sent
directly to the database system.allows to use database
specific sqql statements in an abap program.

Open sql: it will work on any r/3 system regardless of the
database system in use.

Is This Answer Correct ?    24 Yes 4 No

Answer / nasreen

Open SQL allows you to access all database tables known to
the SAP system, regardless of the database manufacturer.
Sometimes, however, we may want to use database-specific
SQL statements called Native SQL in your ABAP/4 program. To
avoid incompatibilities between different database tables
and also to make ABAP/4 programs independent of the
database system in use, SAP has created a set of separate
SQL statements called Open SQL.

Is This Answer Correct ?    14 Yes 1 No

Answer / g.jayaprakash

open sql is not confined to any particular type of database
while a native sql is confined to a particular one.

Is This Answer Correct ?    15 Yes 4 No

Answer / sugandha verma

ABAP Native SQL allows you to include database-specific SQL
statements in an ABAP program. Most ABAP programs containing
database-specific SQL statements do not run with different
databases. If different databases are involved, use Open
SQL. To execute ABAP Native SQL in an ABAP program, use the
statement EXEC. Open SQL (Subset of standard SQL
statements), allows you to access all database tables
available in the R/3 System, regardless of the manufacturer.
To avoid conflicts between database tables and to keep ABAP
programs independent from the database system used, SAP has
generated its own set of SQL statements known as Open SQL.

Is This Answer Correct ?    4 Yes 8 No

Post New Answer

More SAP ABAP Interview Questions

Difference between Drill Down and Interactive Reports, Events triggered in both reports

2 Answers   TCS, iGate,

what is 'X' parameter in BAPI?

4 Answers   Accenture,

please any one can tell me the material no,and sales orde number?in which table conpany masterdata will store?

1 Answers   Infinite Computer Solutions,

What are labels in scripts..? why are they not accpeted in smartforms..?

2 Answers   IBM,

what is direct input method?

1 Answers   Keane India Ltd,

Types of updating in call tr?

2 Answers   Wipro,

Significance of Hide?

5 Answers  

what is the transaction code to create LOGO in sap scripts?

6 Answers   HCL, IBM,

what is set cursor and get cursor command in module pool

2 Answers   Wipro,

Is exit a function module?

1 Answers   CSC,

how to restict the data display in smart form like if i want to display directly in secondary window.

1 Answers  

I a custom table some one has edited and deleted something, So how we should maintain the log for changed and edited datas

1 Answers