Bad Habits & Best Practices / SQL Server September 8th, 2021 Why I don't like the WHILE (1=1) pattern In this tip, I discuss one way to help avoid infinite loops in common while loop patterns.