title: SSIS Derived Column (Find String)
body: <p>I am extracting pattern from the 'Notes' column, I am looking for an alpha numeric word (MXPC123456) from the notes and I want to store the output in a new column. So for that I am using a <code>Derived Column</code> and <code>FindString()</code> function.</p>
  <p>I am getting error when I run this code using the following expression in <code>Drived Column</code> inside my <code>SSIS</code> package:</p>
  <pre><code>(DT_WSTR,255)SUBSTRING(TEXT_LINE1,FINDSTRING(TEXT_LINE1,&quot;MXPC&quot;,1),10).
  </code></pre>
  <p>Don't know what I am doing wrong.</p>
  <blockquote>
  <p>Error: 0xC0049067 at Get DC Coms Data, Derived Column [67]: An error occurred while evaluating the function.</p>
  <p>Error: 0xC0209029 at Get DC Coms Data, Derived Column [67]: SSIS Error Code DTS_E_INDUCEDTRANSFORMFAILUREONERROR.  The &quot;component &quot;Derived Column&quot; (67)&quot; failed because error code 0xC0049067 occurred, and the error row disposition on &quot;output column &quot;CKT_MX&quot; (91)&quot; specifies failure on error. An error occurred on the specified object of the specified component.  There may be error messages posted before this with more information about the failure.</p>
  <p>Error: 0xC0047022 at Get DC Coms Data, SSIS.Pipeline: SSIS Error Code DTS_E_PROCESSINPUTFAILED.  The ProcessInput method on component &quot;Derived Column&quot; (67) failed with error code 0xC0209029 while processing input &quot;Derived Column Input&quot; (68). The identified component returned an error from the ProcessInput method. The error is specific to the component, but the error is fatal and will cause the Data Flow task to stop running.  There may be error messages posted before this with more information about the failure.</p>
  </blockquote>
  <p>Could you please help?</p>
  <p>Regards
  Prab</p>