title: how to write the output of an execute SQL task in to a flat file SSIS 2008
body: <p>I have created an SSIS package which includes an Execute SQL Task which executes the DBCC checkdb. Now , I want to write the output of this task into a flat file.</p>
  
  <p>I tried my best but couldnt find any way to collect the output of the executed task or any means to move the output of a task in control flow to the data flow task.</p>
  
  <p>Thanks in advance.</p>