I\'m using a Microsoft SQL Server 2005 database with isolation level READ_COMMITTED and READ_COMMITTED_SNAPSHOT=ON.
READ_COMMITTED
READ_COMMITTED_SNAPSHOT=ON
Now I want to use:
Create a fake update to enforce the rowlock.
UPDATE (ROWLOCK) SET = WHERE id=1
If that's not locking your row, god knows what will.
After this "UPDATE" you can do your SELECT (ROWLOCK) and subsequent updates.
UPDATE
SELECT (ROWLOCK)