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


1 Answers  

while implementing badi what are the tables u find??

0 Answers   Accenture,

In the `select' statement what is group by ?

0 Answers  

What table stores online messages?

1 Answers   Wipro,

what is difference b/w sap 4.7e and ecc6.0 ?

2 Answers  

How to call transaction in session method without recording?

0 Answers  

when a material is created through BDC, does it add the created material in mara table?Or else where the material created is stored?(In which table?)

2 Answers   Infosys,

How do you see the data in a table?

3 Answers   FutureSoft,

What is RFC function module?

2 Answers   CSC,

What is the use of update Function Module ? Where it is used and purpose ?

1 Answers  

how many times a main window can be placed on placed on the same page in a layout

1 Answers   IBM,

Whether Project contains enhancement or Enhancement contains Projects?

2 Answers   Wipro, Accenture,