I am using a start transaction in my stored procedure. I have a code that updates data:
UPDATE
employee
SET
name = @name,
surname = @surname
WHERE
empId = @empid;
Does SQL Server support row lock or coloumn that is being updated? If this is not the case, how would I prevent other users from doing another update while the current update is in progress? This should not be in the stored procedure, C # is also an option.
source
share