Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 Row Lock

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2004-12-06 : 08:41:52
Arun writes " As I am desgining a S/W to be used in a multi-user environment.I have to lock a record that should not be available to the another user for updation in the same application And can be visible to the user in different application designed in (VB-6.0)."

nr
SQLTeam MVY

12543 Posts

Posted - 2004-12-06 : 08:45:43
Are you trying to hold a lock from the application - i.e. retrieving a record for update?
If so it's a bad idea - look at optimisic locking.

==========================================
Cursors are useful if you don't know sql.
DTS can be used in a similar way.
Beer is not cold and it isn't fizzy.
Go to Top of Page
   

- Advertisement -