PDA

Click to See Complete Forum and Search --> : Record Locking


Smallkeung
Jan 4th, 2000, 09:22 PM
I'm using Visual Basic 6 and SQL server 7.0 to develop a Multi-User application under the client/server environment.
I'll use the stored procedure to handle the transaction, but I don't know how to handle record locking for those transaction.
Can anyone suggest some solutions for me ?
I should handle the record locking on Visual Baisc or Stored procedure, and how to do this ?
Thanks

Clunietp
Jan 5th, 2000, 01:50 AM
The stored procedure will automatically handle the record locking, you don't have to code for it.

You may want to use BEGIN TRANSACTION and COMMIT TRANSACTION in your stored procedure if you are doing updates/deletes on multiple tables


Tom