on ‎2006 Mar 15 8:26 PM
Hi all,
Can anyone explain me the diference between open sql and native sql ? The select statements we use belongs to which category ?
Regards,
Varun.
Request clarification before answering.
From the help on "open SQL"
Open SQL
Open SQL is a set of ABAP/4 commands which perform operations on database tables. The results of these operations and associated error messages are independent of the database system used. Open SQL thus offers you unified SQL syntax and semantics for different database systems (see Portability). An ABAP/4 program which uses these commands can be run on database systems supported by SAP without modification.
From the help on Native SQL
Native SQL
Native SQL allows you to perform operations on databases over and above those in the Open SQL command set. In contrast to Open SQL, Native SQL supports not only operations on the local database active in the R/3 System, but also on any external databases.
We normally use open SQL, but in some case when you want to say look at the upper case value of an upper/lower case field in a database, you can use native SQL.
Native SQL seems somewhat slower and you have to know which databse you will be using it on before coding.
For more information type EXEC in the editor and press F1.
Rob
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 8 | |
| 6 | |
| 4 | |
| 4 | |
| 3 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.