This week's book giveaway is in the JDBC forum.
We're giving away four copies of Make it so: Java DB Connections & Transactions and have Marcho Behler on-line!
See this thread for details.
The moose likes JDBC and Relational Databases and the fly likes Row level lock help Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Make it so: Java DB Connections & Transactions this week in the JDBC forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "Row level lock help" Watch "Row level lock help" New topic

Row level lock help

prabhu kandanur
Ranch Hand

Joined: Oct 18, 2003
Posts: 34
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
satish patil

Joined: Apr 13, 2004
Posts: 4
while creating an statement annd two paramenters in ceatestatemen() method
about record set sensible & Curosor type
Jeanne Boyarsky
author & internet detective

Joined: May 26, 2003
Posts: 32848

This article discusses row locking in sql server.

[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
I agree. Here's the link:
subject: Row level lock help
jQuery in Action, 3rd edition