Question

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?

Was it helpful?

Solution

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top