Results 1 to 2 of 2

Thread: Record Locking

  1. #1

    Thread Starter
    New Member
    Join Date
    Jan 2000
    Posts
    10

    Post

    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



  2. #2
    Guru Clunietp's Avatar
    Join Date
    Oct 1999
    Location
    USA
    Posts
    1,844

    Post

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width