title: Convert DDMMYY to DD-MM-YY in SSIS Derived Column
body: <p>I am facing issue while placing "-" in a varchar datatype.
  . Need is after last two digits we need to put "-" and then again after two digits and so on.</p>
  
  <blockquote>
    <p>Input String is- 21220 Output String- 2-12-20</p>
  </blockquote>
  
  <p>Or,</p>
  
  <blockquote>
    <p>Input String- 311220 Output String- 31-12-20</p>
  </blockquote>
  
  <p>Can anyone help me on this ?</p>