Normal SQL Query othern than Native
Can we use normal SQL query in ABAP?
if yes what are the various statements we have..
putcha venkatesh replied
There is one option.
You can use statement EXEC SQL followed by ENDEXEC.
Find the example below:
CREATE TABLE AVERI_CLNT (
CLIENT CHAR(3) NOT NULL,
ARG1 CHAR(3) NOT NULL,
ARG2 CHAR(3) NOT NULL,
FUNCTION CHAR(10) NOT NULL,
PRIMARY KEY (CLIENT, ARG1, ARG2)
I hope you are OK with this.