title: LOAD DATA INFILE easily convert YYYYMMDD to YYYY-MM-DD?
body: <p>Hi I have an INFILE I want to import, but the dates are of the form :</p>
  
  <pre><code>AADR,20120403,31.43,31.43,31.4,31.4,1100
  AAU,20120403,2.64,2.65,2.56,2.65,85700
  AAVX,20120403,162.49,162.49,154.24,156.65,2200
  </code></pre>
  
  <p>Is there any easy way to convert the dates to be '2012-04-03' without having to do something like open it first with a perl script, convert the dates, and then writing the file back out again?</p>
  
  <p>TIA !!</p>