Set-based solutions provide better performance as they work on a result
set and not on one row at a time. They are concise and more readable.