on 09-19-2017 11:56 AM
Using SAP HANA 2 ODBC client, executing a cursor with SELECT FOR UPDATE, I want to compare the behavior with other database engines regarding concurrent data access when another client process does the same...
Where can I find documentation about this?
Seb
Technically, every SQL command runs in a transaction and so does SELECT FOR UPDATE.
The semantic is that SELECT FOR UPDATE sets exclusive locks (others can still read, but not write) on all rows returned by the query. Locks in HANA are always either on row level or - if demanded by the command semantics - on table level.
As usual, locks are released with a commit or a rollback and also when you close a cursor.
The documentation is on help.sap.com. And your questions are covered in it.
I noted that you seem to have a lot of questions, but never bother to close them. That's not exactly motivating anyone to answer your questions.
Cheers,
Lars
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.