Running into SQL query issues can sometimes cause issues. One issue ran into today is that a query which was a simple select, but the “where” statement had an “or” in it and it wasn’t wrapped in parenthesis, which caused almost all table records to be returned. This caused the tempdb to fill up.
If a query is taking more than a couple seconds to run generally something is wrong with the query or a missing index and its best to stop execution and review the query for issues.
Leave a Reply