Do I need to lock the database before updating?

  • Thread starter Thread starter Cor
  • Start date Start date
C

Cor

Hi Babylon,

That is your choise, have a look at pessimistic and optimistic concurrency.

Cor
 
I would like to retrive a value from database, and increment it by 1
and update it back to the database

do I need to lock the table explictly??
thx
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top