title: A-Z loop in SQL Stored Procedure
body: <p>For a project, I have to loop through the alphabet and run a search for each letter against some values in a database. The function would return the number of matches for each letter.</p>
  
  <p>I would like to be able to do this in a SQL Stored Procedure, but I'm not certain how I could do a 'FOR letter = A to Z' loop in a SP. Does anyone know how this could be done?</p>