Quantcast
Channel: Web Forms
Viewing all articles
Browse latest Browse all 23244

Is locking an SQL database required whilst running some or all or a query?

$
0
0

I suspect part of my query with the below question is due to having used Access as a backend and always locked out users whilst any event that had editable affects happened....

A question on stored procedures and SQL statements within ASP.Net whilst the code in generally run at the server side when an SQL command executes does it need to have some sort of locking mechanism placed on the DB or is the procedures event a unique query i.e. user 1 asks how many employees are called “Bob” and whilst this query is running another user, user2, asks how many employees are called “Dave”. Whilst this is of course not going to affect the database the bigger picture is update/delete and so forth.


Viewing all articles
Browse latest Browse all 23244

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>