Microsoft SQL Server multiple locks
-
08-07-2021 - |
문제
I'm currently running Microsoft SQL Express Server. When one user performs a query without committing it, it locks the entire table. The problem is that malicious users might "ruin" the database by doing so on purpose. How can I prevent this from happening?
해결책
You need to understand database isolation levels http://en.wikipedia.org/wiki/Isolation_(database_systems). Most likely you are running queries as seralizable which will have that effect. Try submitting some code.
제휴하지 않습니다 StackOverflow