cancel
Showing results for 
Search instead for 
Did you mean: 

UNLOAD format text should also have WITH COLUMN NAMES option

Former Member
3,585

hi

Because of performance issue I had to program a CSV export using the native UNLOAD <datasource> stuff. Performance increased, but needed to "cheat" to get the column names in.

I would like UNLOAD format text to obey to all the same options as OUTPUT TO does. Maybe still right in time for the next SQL AW version.

Martin

Accepted Solutions (0)

Answers (1)

Answers (1)

reimer_pods
Participant

Cited from the NNTP forum sybase.public.sqlanywhere.general, answer to a post from Martin Baur:

I wish I had a better answer other than 'oversight'. When UNLOAD was created, its syntax was created to mimic OUTPUT but the syntax of each statement has diverged since then. There are also many UNLOAD options that are not supported by OUTPUT (eg, ENCRYPTED, COMPRESSED, ROW DELIMITED BY, etc).

I have created an enhancement request to bring the syntax of these two statements closer together.

-john.

John Smirnios Senior Staff Software Developer iAnywhere Solutions Engineering