The forum will be unavailable for maintenance at some point from Friday, April 13 at 19:00 EDT until Sunday, April 15 at 23:59 EDT. Downtime will be minimized but the exact timing is unknown.


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.


asked 12 Dec '12, 03:07

Tinu's gravatar image

accept rate: 0%

edited 12 Dec '12, 09:02

Mark%20Culp's gravatar image

Mark Culp

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 Smirnios Senior Staff Software Developer iAnywhere Solutions Engineering

permanent link

answered 12 Dec '12, 08:28

Reimer%20Pods's gravatar image

Reimer Pods
accept rate: 12%

edited 12 Dec '12, 08:57

Mark%20Culp's gravatar image

Mark Culp

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 12 Dec '12, 03:07

question was seen: 1,202 times

last updated: 12 Dec '12, 09:02