Bad Habits & Best Practices / SQL Server October 7th, 2009 Bad Habits to Kick : Using loops to populate large tables See a few alternatives to expensive loops for populating sample or sequential data.