The forum will experience an outage sometime between February 10 at 7:00pm EST and February 12 at 11:59 EST for installation of security updates. The actual time and duration of the outage are unknown but attempts will be made to minimize the downtime. We apologize for any inconvenience.

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

asked 12 Dec '12, 03:07

Tinu's gravatar image

Tinu
76338
accept rate: 0%

edited 12 Dec '12, 09:02

Mark%20Culp's gravatar image

Mark Culp
22.3k9129262


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

permanent link

answered 12 Dec '12, 08:28

Reimer%20Pods's gravatar image

Reimer Pods
4.1k324278
accept rate: 12%

edited 12 Dec '12, 08:57

Mark%20Culp's gravatar image

Mark Culp
22.3k9129262

Your answer
toggle preview

Follow this question

By Email:

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

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "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:

×106
×35

question asked: 12 Dec '12, 03:07

question was seen: 801 times

last updated: 12 Dec '12, 09:02