Sql Blocking
It's a common problem for those who are running queries that take a long time to execute: the SQL blocking query use of other queries on the same database. This can be a problem when running the same query multiple times, or when using a large table with many queries, or when running a query on a small table with many queries. The query can be blocked for as long as the execution time, and this can be quite an inconvenience. This means that if you are running a query on a large table with many queries, you can use sp_executesql to ensure that queries are executed one at a time, and not all at once.










