Hi, I am using unload command to read from ml_script table and export it into text file. Problem: I get the text file in only one line (\x0d, x0a, x09 are replacing the 'new line', 'space'...etc.) Question: how can I get the context in the text file without those special characters.

Thanks

asked 23 Mar '17, 13:39

Baron's gravatar image

Baron
2.1k134146175
accept rate: 46%


Try these UNLOAD options...

UNLOAD 
SELECT *
  FROM ml_script
TO 'c:\temp\ml_script.txt'
DELIMITED BY '' HEXADECIMAL OFF ESCAPES OFF QUOTES OFF;
permanent link

answered 23 Mar '17, 13:48

Breck%20Carter's gravatar image

Breck Carter
32.5k5417261050
accept rate: 20%

It has really worked!!! many thanks

(23 Mar '17, 15:50) Baron
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:

×48
×34
×20

question asked: 23 Mar '17, 13:39

question was seen: 1,466 times

last updated: 23 Mar '17, 15:50