What are locks in sql?



What are locks in sql?..

Answer / Satish Chandra Madheshiya

Locks are used in SQL to prevent multiple users from accessing and modifying the same data simultaneously. They ensure data consistency by restricting access to the locked data until the operation is completed.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More SQL Server Interview Questions

What is a Stored Procedure?

8 Answers  


What is SQL Profiler and the use of it?

2 Answers   247Customer,


but what if you have to create a database with two filegroups, one on drive c and the other on drive d with log on drive e with an initial size of 600 mb and with a growth factor of 15%? : Sql server database administration

1 Answers  


How do I create a stored procedure in dbml?

1 Answers  


How do I start sql server 2016?

1 Answers  


What are the tables in sql?

1 Answers  


Explain Geography datatype in SQL Server

1 Answers   Infosys,


What is change data capture (cdc) in sql server 2008?

1 Answers  


What is model database? : SQL Server Architecture

1 Answers  


Determine how to use the inserted and deleted pseudo tables?

1 Answers  


Explain how to maintain a fill factor in existing indexes?

1 Answers  


How to list all tables having unique constraints in any of the columns in a database.

1 Answers  


Categories