Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Row Lock and Prevent Read

 
Rudolf Castelino
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

Is there any way to lock a row in a table in a way that prevents any other thread from reading the row from the table ?

Regards
Rudolf
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34178
340
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Rudolf,
It depends on the database.

What are you trying to accomplish by preventing other users from accessing that row? Is it transaction support or something else?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic