Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Bind Variables

Former Member
0 Likes
1,141

Hi

Does ABAP support the use of bind variables in database queries ?

In Oracle (and Sql Server), a query that is run many times but with a slightly different 'where' clause is much faster when bind variables are used. This is because the statment does not need to be parsed as the DBMS will reuse an already parsed version from memory.

How is this feature implemented in ABAP. (Java calls them Prepared Statements and VB has an API function to create them).

Thanx in advance

Asif

2 REPLIES 2
Read only

Former Member
Read only

Former Member
0 Likes
524

Hi Asif,

chk this, it wud be helpful:

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/90732509-d358-2910-35be-bdeaa59d...

/people/azazali.shaik/blog/2006/11/15/abap-and-javascript-part-2

regards,

keerthi