title: How to concatenate two strings in sql and pad one string with 0's?
body: <p>I have two fields in a table.  One contains values such as BTA, BEA, REA.  The other contains values such as 1,2,63,103.</p>
  
  <p>I want to combine the 2 fields so they look like this BTA001, BTA002, BTA063, BTA103.</p>
  
  <p>Notice how if the numbers are not 3 characters in length, I want to pad some 0's to the left of the number to make it equal to 3.</p>
  
  <p>How would I go about doing this?  The fields in the table are called Type which correspond to BTA, BEA, and REA and Id is the field that corresponds to 1, 2, 63, and 103.</p>