Should We Use the NOLOCK Hint?

in data •  5 years ago 

Check out the discussion in the video . A colleague once shared a story of a company that dismissed a developer because the developer had run a query counting records without using NOLOCK. The OLPT environment experienced a brief disruption from this and thus the developer was dismissed. In general, avoid running queries in production and if you are required to run queries, either use queries that have either been pre-created (health checks) or use queries that have been approved.

Automating ETL
Check out the highest-rated Automating ETL course on Udemy, if you're interested in data.

We look at some of the drawbacks to using this hint along with some of the advantages. Context and situation matters the most when we consider using this. Also, there are other ways to set this at the beginning of the transaction, so that we don't have to specify on each table.

YouTube | Automating ETL | T-SQL In 2 Hours | Consumer Guide To Digital Security

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!