I would like to generate individual text files from an SQL query result. Given a table like:
| fileName | fileContents |
|---|---|
| name1.txt | "text1" |
| name2.txt | "text2" |
| ... | ... |
| name100.txt | "text100" |
is there a simple way to create a text file for each row containing fileContents and named fileName? Thanks in advance!