SAP ABAP Question: Download Questions PDF
What does an EXEC SQL stmt do in ABAP? What is the disadvantage of using it?
Answer:
To use a Native SQL statement, you must precede it with the EXEC SQL statement, and follow it with the ENDEXEC statement as follows:
EXEC SQL [PERFORMING <form>].
<Native SQL statement>
ENDEXEC.
There is no period after Native SQL statements. Furthermore, using inverted commas (") or an asterisk (*) at the beginning of a line in a native SQL statement does not introduce a comment as it would in normal ABAP syntax. You need to know whether table and field names are case-sensitive in your chosen database.
EXEC SQL [PERFORMING <form>].
<Native SQL statement>
ENDEXEC.
There is no period after Native SQL statements. Furthermore, using inverted commas (") or an asterisk (*) at the beginning of a line in a native SQL statement does not introduce a comment as it would in normal ABAP syntax. You need to know whether table and field names are case-sensitive in your chosen database.
Download SAP ABAP Interview Questions And Answers
PDF
Previous Question | Next Question |
What is OPEN SQL vs NATIVE SQL? | What is the meaning of ABAP editor integrated with ABAP data dictionary? |