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.
Who is Participating?
MacNuttinConnect With a Mentor Commented:
You can't directly control record locking in MS SQL  What are you locking record for?
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.