Hi

Has anyone got a script to generate data from a table with data

for example

column1-----column2-----column3
abc----------xyz-----------efg

the script should generate a flat file

abc, xyz, efg

By the way should work with any table not just the one above (one table is easy with dynamic SQL)
Would be somthing like passing the table name as parameter then the script would generate all the data

cheers