Is there a way to know a particular table was locked
1. How many times
2. On which date and time
Thanks.
DatabasesMicrosoft SQL Server
Last Comment
Vitor Montalvão
8/22/2022 - Mon
Vitor Montalvão
No, there's no history of locks.
The only way I can see doing that is to create your own solution by running a 24h audit system and store that information in a database so you can analyze it after.
Baber Amin
ASKER
OK.
So what does that mean to fire a trigger whenever a lock occurs and store that info in a separate database?
The only way I can see doing that is to create your own solution by running a 24h audit system and store that information in a database so you can analyze it after.