SQL: comparing values IN vs INNER JOIN
IN Vs INNER JOIN Here we will do a quick benchmark on using IN vs INNER JOIN. This came about when a coworker had to run a one-off SQL statement…
Developing is like telling jokes: if you have to explain it, it's not as good as it could be.
IN Vs INNER JOIN Here we will do a quick benchmark on using IN vs INNER JOIN. This came about when a coworker had to run a one-off SQL statement…
LIKE vs SUBSTRING vs LEFT/RIGHT vs CHARINDEX All too often developers need to query a database table for records which begin and/or end with a certain textual pattern. For instance,…
Fastest way to insert new records where one doesn’t already exist SQL Developers come across this scenario quite often – having to insert records into a table where a record…
Increase SQL Server tempdb Performance In this article I hope to shed light on some very simple ways to increase SQL Server tempdb performance. As an SQL developer, I’ve spent…
Fastest way to compare multiple column values I was recently working on a project with stored procedures that had a significant amount of column comparisons in a MERGE statement. This…
Optimizing SQL Strategies How many of you have come across SQL code that, for whatever reason, wasn’t written as good as it could have been? I’m not talking about going…