SQL Server Lock Record or Multiple Records

I want to lock a single record in a specified table of my Database.
I want to excecute this lock to this record when my application starts and unlock when the application shutdown.
carmas123Asked:
Who is Participating?
 
MacNuttinConnect With a Mentor Commented:
You can't directly control record locking in MS SQL  What are you locking record for?
http://www.eggheadcafe.com/software/aspnet/33413232/putting-a-sql--lock-on-a.aspx
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.