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

OPEN CURSOR WITH HOLD in Native SQL

Former Member
0 Likes
794

Hi All,

I am fetching the data from Other SAP system by using Native SQL.

In Native SQL, I am using Open Cursor

But cursor is getting closed for second time if i wanted to fetch the data second time.

So I am planning to use WITH HOLD Option but it is not working.Could you please help us here.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
653

Native SQL is dependent on your database. So it's not possible to give a good answer without knowing that.

Rob

3 REPLIES 3
Read only

Former Member
0 Likes
654

Native SQL is dependent on your database. So it's not possible to give a good answer without knowing that.

Rob

Read only

former_member214857
Contributor
0 Likes
653

Hi

It depends on each database. One possiblity is use FOR UPDATE statement

Best regards

Read only

Former Member
0 Likes
653

HI ALL,

Native SQL checks for synatx errors in requests recieved and passes the request to database through gateway service.

depending on the DB,performance varies.

Regards,

Namitha.