• Post Reply Bookmark Topic Watch Topic
  • New Topic

Row level lock help  RSS feed

 
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HOw to do row level lock in sql server 2000 database
say 'select * from emp where empid='1001' . how do i lock the
particular row, so that other user can't access the row
prabhu
 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
while creating an statement annd two paramenters in ceatestatemen() method
about record set sensible & Curosor type
 
author & internet detective
Marshal
Posts: 37708
578
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Prabhu,
This article discusses row locking in sql server.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!