Does anyone know of an easy way to export the contents of a table as comma delimited with headers?
I know I could do put stream but then I have to explicitly do the headers and every field.
I could do export delimiter but then there are no headers.
Mostly I would like an easy way to put the headers at the top of the file without having to type them all out using a put stream.
What I have now is the following:
I know I could do put stream but then I have to explicitly do the headers and every field.
I could do export delimiter but then there are no headers.
Mostly I would like an easy way to put the headers at the top of the file without having to type them all out using a put stream.
What I have now is the following:
Code:
output to file.csv.
/* headers here without typing them all out */
for each table:
export delimiter "," table.
end.
close output.