lcCsvFileName = "myfile.txt" * with header record COPY TO (lcCsvFileName) TYPE CSV * just data COPY TO (lcCsvFileName) TYPE DELIMITED