title: How to create text files of database rows?
body: <p>I have a database table with a column named <code>File Content</code>, and many rows. What I need is to create a text file for each row of <code>File Content</code> column.</p>
  
  <p><strong>Example:</strong></p>
  
  <pre><code>Sr.        File Name        File Content
  
  1.         FN1              Hello
  2.         FN2              Good Morning
  3.         FN3              How are you?
  4.         FN4              Where are you?
  </code></pre>
  
  <p>Suppose I have 4 rows, then 4 text files should be created (maybe with any name which we want)</p>
  
  <ol>
  <li><code>File1.txt</code> should have text "hello" in it.</li>
  <li><code>File2.txt</code> should have text "Good Morning" in it.</li>
  <li><code>File3.txt</code> should have text "How are you?" in it.</li>
  <li><code>File4.txt</code> should have text "Where are you?" in it</li>
  </ol>