title: Wrong outcome with sql replace statement
body: <p>When I use the following formule: </p>
  
  <pre><code>,replace(
  replace(
  replace(
  replace(
  replace(
  replace(
  replace(
  replace(
  replace(
  replace(
  replace(
  replace(str(datepart(m,PMCCONTRACT.STATUSDATE),2),'1','januari')
  ,'2','februari')
  ,'3','maart')
  ,'4','april')
  ,'5','mei')
  ,'6','juni')
  ,'7','juli')
  ,'8','augustus')
  ,'9','september')
  ,'10','oktober')
  ,'11','november')
  ,'12','december')
  </code></pre>
  
  <p>It goes well until oktober. After that I get: januari0, januarijanuari and januariifebruari instead of oktober, november, december. </p>
  
  <p>What can I do to get oktober, november and december.</p>