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