We are upgarde our product from SA10 to SA12 12.0.1 (Linux - EBF 3311; Windows EBF 3324). We found out that UNLOAD statement add to first line of file - 3(three) hex character - xEF, xBB, xBF. Example UNLOAD SELECT * FROM DEVICE TO 'c:\default_db\temp\cfg_dev_4.txt' first line
instead of
It doesn't make problem if you want to use this file with LOAD statement, but in our case we make additional processing with our application and it make problem, with SA10 it had working properly. This problem appears in OS Windows and Linux. |
See http://dcx.sybase.com/index.html#1201/en/dbreference/unload-statement.html*d5e63698
Note that although byte ordering in UTF8 is a meaningless concept, many text editors & text processing systems allow a UTF8 encoded BOM character at the beginning of the text so that the encoding of the data can easily be detected as UTF8. Thanks, it help to us fix problem
(10 Oct '11, 13:53)
HBrener
Replies hidden
1
If so, it's good practise to accept this answer. Here's how to do so:)
(10 Oct '11, 16:14)
Volker Barth
|