title: SQL: how to get the left 3 numbers from an int
body: <p>I want to retrieve the left 3 numbers from an integer to be stored in a table. For example, if the int is 1234567, I want to retrieve 123. I want the second number (123) to also be an int; I don't want to convert anything to a string.</p>
  
  <p>(And yes, really I should be working with strings. But I don't have control over that aspect of the issue.)</p>
  
  <p>Thank you!</p>